Skip to content

Commit 008953b

Browse files
feat: rename for consistency
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 4fbc9e0 commit 008953b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/commands/deprecated/dev.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {logHelpDev} from '../../help/deprecated/dev.help';
33
import {logHelpEmulatorStart} from '../../help/emulator.start.help';
44
import {logHelpEmulatorWait} from '../../help/emulator.wait.help';
55
import {logHelpFunctionsBuild} from '../../help/functions.build.help';
6-
import {logHelpFunctionsEject} from '../../help/functions.init.help';
6+
import {logHelpFunctionsInit} from '../../help/functions.init.help';
77
import {start} from '../../services/emulator/start.services';
88
import {stop} from '../../services/emulator/stop.services';
99
import {wait} from '../../services/emulator/wait.services';
@@ -55,7 +55,7 @@ export const helpDev = (args?: string[]) => {
5555
logHelpFunctionsBuild(args);
5656
break;
5757
case 'eject':
58-
logHelpFunctionsEject(args);
58+
logHelpFunctionsInit(args);
5959
break;
6060
default:
6161
logHelpDev(args);

src/commands/functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {red} from 'kleur';
22
import {logHelpFunctionsBuild} from '../help/functions.build.help';
33
import {logHelpFunctions} from '../help/functions.help';
4-
import {logHelpFunctionsEject} from '../help/functions.init.help';
4+
import {logHelpFunctionsInit} from '../help/functions.init.help';
55
import {logHelpFunctionsPublish} from '../help/functions.publish.help';
66
import {logHelpFunctionsUpgrade} from '../help/functions.upgrade.help';
77
import {build} from '../services/functions/build/build.services';
@@ -41,7 +41,7 @@ export const helpFunctions = (args?: string[]) => {
4141
break;
4242
case 'init':
4343
case 'eject':
44-
logHelpFunctionsEject(args);
44+
logHelpFunctionsInit(args);
4545
break;
4646
case 'publish':
4747
logHelpFunctionsPublish(args);

src/help/functions.init.help.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ ${FUNCTIONS_INIT_DESCRIPTION}
2727
${usage}
2828
`;
2929

30-
export const logHelpFunctionsEject = (args?: string[]) => {
30+
export const logHelpFunctionsInit = (args?: string[]) => {
3131
console.log(helpOutput(args) === 'doc' ? doc : help);
3232
};

0 commit comments

Comments
 (0)