Skip to content

Commit 9c2e83e

Browse files
committed
no need a special flag anymore for storybook with --no-feature
1 parent 01a7f45 commit 9c2e83e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/addons/storybook/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import process from 'node:process';
21
import { defineAddon } from '@sveltejs/cli-core';
32
import { getNodeTypesVersion } from '../common.ts';
43

@@ -21,9 +20,6 @@ export default defineAddon({
2120
'--no-features'
2221
];
2322

24-
// skips the onboarding prompt during tests
25-
if (process.env.NODE_ENV?.toLowerCase() === 'test') args.push('--yes');
26-
2723
await sv.execute(args, 'inherit');
2824
sv.devDependency(`@types/node`, getNodeTypesVersion());
2925
}

0 commit comments

Comments
 (0)