♻️ Rename setupProject to be consistent

This commit is contained in:
trickypr 2022-07-14 15:39:47 +10:00
parent ce7a76db93
commit 24e85cde26
4 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ export const commands: Cmd[] = [
cmd: 'setup-project', cmd: 'setup-project',
description: 'Sets up a gluon project for the first time', description: 'Sets up a gluon project for the first time',
requestController: async () => requestController: async () =>
(await import('./commands/setupProject')).setupProject, (await import('./commands/setup-project')).setupProject,
}, },
{ {
cmd: 'status', cmd: 'status',

View file

@ -31,7 +31,7 @@ import {
walkDirectory, walkDirectory,
windowsPathToUnix, windowsPathToUnix,
} from '../../utils' } from '../../utils'
import { templateDir } from '../setupProject' import { templateDir } from '../setup-project'
import { IMelonPatch } from './command' import { IMelonPatch } from './command'
// ============================================================================= // =============================================================================

View file

@ -13,7 +13,7 @@ import { existsSync, writeFileSync } from 'fs'
import { patchCountFile } from '../../middleware/patch-check' import { patchCountFile } from '../../middleware/patch-check'
import { checkHash } from '../../utils' import { checkHash } from '../../utils'
import { log } from '../../log' import { log } from '../../log'
import { templateDir } from '../setupProject' import { templateDir } from '../setup-project'
type ListrTaskGroup = Listr.ListrTask<unknown> type ListrTaskGroup = Listr.ListrTask<unknown>