From c890f991f8366a216c883dc4b2d65804e4c8511a Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 23 Aug 2021 19:57:17 +0800 Subject: [PATCH] chore: note that the current combination algorithm is incorrect --- snapshot.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/snapshot.js b/snapshot.js index f80cff6d..1698d96d 100644 --- a/snapshot.js +++ b/snapshot.js @@ -6,17 +6,14 @@ const playgroundDir = new URL('./playground/', import.meta.url).pathname function createProjectWithFeatureFlags(flags) { const projectName = flags.join('-') console.log(`Creating project ${projectName}`) - spawnSync( - 'node', - [bin, projectName, ...flags.map((flag) => `--${flag}`), '--force'], - { - cwd: playgroundDir - } - ) + spawnSync('node', [bin, projectName, ...flags.map((flag) => `--${flag}`), '--force'], { + cwd: playgroundDir + }) } const featureFlags = ['typescript', 'jsx', 'router', 'vuex', 'with-tests'] +// FIXME: not correct function getCombinations(arr) { const combinations = [] -- 2.39.5