diff options
author | 2019-09-24 14:39:31 +0700 | |
---|---|---|
committer | 2019-09-24 14:39:31 +0700 | |
commit | 52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d (patch) | |
tree | f48766794a74285bfc7dd334aa6b5d08c002a4fb /gulpfile.babel.js | |
parent | Add ignore list for darkmode (diff) | |
download | ferdium-app-52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d.tar.gz ferdium-app-52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d.tar.zst ferdium-app-52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d.zip |
#72 Fix dictionaries build step
Would not work if the path contains a space
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r-- | gulpfile.babel.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
166 | let packages = ''; | 166 | let packages = ''; |
167 | Object.keys(SPELLCHECKER_LOCALES).forEach((key) => { packages = `${packages} hunspell-dict-${key}`; }); | 167 | Object.keys(SPELLCHECKER_LOCALES).forEach((key) => { packages = `${packages} hunspell-dict-${key}`; }); |
168 | 168 | ||
169 | _shell(`npm install --prefix ${path.join(__dirname, 'temp')} ${packages}`, () => { | 169 | _shell(`npm install --prefix "${path.join(__dirname, 'temp')}" ${packages}`, () => { |
170 | moveSync( | 170 | moveSync( |
171 | path.join(__dirname, 'temp', 'node_modules'), | 171 | path.join(__dirname, 'temp', 'node_modules'), |
172 | path.join(__dirname, 'build', paths.dictionaries), | 172 | path.join(__dirname, 'build', paths.dictionaries), |