Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotucks committed Apr 8, 2024
1 parent cb5ef8f commit d236371
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions turbo/generators/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'path'
import fs from 'fs-extra'
import type { PlopTypes } from '@turbo/gen'
import { ProtocolName } from "../../sdk/sdk-common/src/protocols";
import { ProtocolName } from '../../sdk/sdk-common/src/protocols'

export default function generator(plop: PlopTypes.NodePlopAPI): void {
plop.setGenerator('plugin', {
Expand Down Expand Up @@ -201,9 +201,9 @@ const nameAction: PlopTypes.CustomActionFunction = async (answers: {
}) => {
const name = answers.name
;(answers.namePascalCase = toPascalCase(name)),
(answers.nameKebabCase = toKebabCase(name)),
(answers.nameCamelCase = toCamelCase(name)),
(answers.nameCapitalised = name.toUpperCase())
(answers.nameKebabCase = toKebabCase(name)),
(answers.nameCamelCase = toCamelCase(name)),
(answers.nameCapitalised = name.toUpperCase())

return 'Added casing variants'
}
Expand Down

0 comments on commit d236371

Please sign in to comment.