Merge pull request #391 from westlywright/master

Update env
This commit is contained in:
Westly Wright
2018-07-03 15:03:14 -07:00
committed by GitHub
+6 -1
View File
@@ -168,7 +168,12 @@ gulp.task('pub-delete', () => {
gulp.task('build:search-index', (cb) => {
const opts = {stdio: 'inherit'};
const env = process.env;
const opts = {
stdio: 'inherit',
env: env
};
return spawn(process.cwd()+'/scripts/build-algolia.js', opts).on('close', (/* code */) => {
cb();
});