aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.babel.js
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik ç݆ĉ˜‚ĉ˜Ž <amine@mouafik.fr>2019-09-24 14:39:31 +0700
committerLibravatar GitHub <noreply@github.com>2019-09-24 14:39:31 +0700
commit52d2899bfd40a8383fe1f3592ef2f5b43e0bde8d (patch)
treef48766794a74285bfc7dd334aa6b5d08c002a4fb /gulpfile.babel.js
parentAdd ignore list for darkmode (diff)
downloadferdium-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.js2
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),