Skip to content

Commit 77e78ae

Browse files
committed
feat: default value for <init> scope
BREAKING CHANGE: actually, version 3.3 already has a breaking change. sorry. you can read it in the repository changelog.
1 parent 437b9c5 commit 77e78ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/commands/init.commands.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function initCommand({ preset, scope }) {
2727

2828
await vulcan.createVulcanEnv({ preset }, scope);
2929

30-
feedback.info(`'temporary store file created!'`);
30+
feedback.info(`Temporary store file created!`);
3131
} catch (error) {
3232
feedback.error(`Error creating temporary store file: ${error.message}`);
3333
process.exit(1);

lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function startVulcanProgram() {
156156
program
157157
.command('init')
158158
.option('--preset <preset_name>', 'Preset name', false)
159-
.option('--scope <scope>', 'project scope', false)
159+
.option('--scope <scope>', 'project scope', 'global')
160160
.description('Initialize temporary store')
161161
.action(async (options) => {
162162
const { initCommand } = await import('#commands');

0 commit comments

Comments
 (0)