Преглед изворни кода

fix : this didn't run on windows

Jonathan пре 8 година
родитељ
комит
c80db9ca8a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      build/bin/build-all.js

+ 1 - 1
build/bin/build-all.js

@@ -19,7 +19,7 @@ Object.keys(components).forEach(key => {
 });
 
 const paths = componentPaths.join(',');
-const cli = `node_modules/.bin/cooking build -c ${paths} -p`;
+const cli = path.join('node_modules', '.bin', 'cooking') + ` build -c ${paths} -p`;
 
 execSync(cli, {
   stdio: 'inherit'