From 52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d Mon Sep 17 00:00:00 2001 From: Amine Mouafik ç݆ĉ˜‚ĉ˜Ž Date: Tue, 24 Sep 2019 14:39:31 +0700 Subject: #72 Fix dictionaries build step Would not work if the path contains a space --- gulpfile.babel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gulpfile.babel.js') diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 06e995d07..c0400bdac 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -166,7 +166,7 @@ export function dictionaries(done) { let packages = ''; Object.keys(SPELLCHECKER_LOCALES).forEach((key) => { packages = `${packages} hunspell-dict-${key}`; }); - _shell(`npm install --prefix ${path.join(__dirname, 'temp')} ${packages}`, () => { + _shell(`npm install --prefix "${path.join(__dirname, 'temp')}" ${packages}`, () => { moveSync( path.join(__dirname, 'temp', 'node_modules'), path.join(__dirname, 'build', paths.dictionaries), -- cgit v1.2.3-54-g00ecf