Skip to content

Commit c890f99

Browse files
committed
chore: note that the current combination algorithm is incorrect
1 parent bfbf5fd commit c890f99

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

snapshot.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ const playgroundDir = new URL('./playground/', import.meta.url).pathname
66
function createProjectWithFeatureFlags(flags) {
77
const projectName = flags.join('-')
88
console.log(`Creating project ${projectName}`)
9-
spawnSync(
10-
'node',
11-
[bin, projectName, ...flags.map((flag) => `--${flag}`), '--force'],
12-
{
13-
cwd: playgroundDir
14-
}
15-
)
9+
spawnSync('node', [bin, projectName, ...flags.map((flag) => `--${flag}`), '--force'], {
10+
cwd: playgroundDir
11+
})
1612
}
1713

1814
const featureFlags = ['typescript', 'jsx', 'router', 'vuex', 'with-tests']
1915

16+
// FIXME: not correct
2017
function getCombinations(arr) {
2118
const combinations = []
2219

0 commit comments

Comments
 (0)