From 668da9ac12e8842ca7faac1f7356e061d22b52a3 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 22 Jan 2019 11:16:14 +0100 Subject: [PATCH] added print folder to gulpfile install --- gulpfile.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8337c451e..92fb8ee43 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -129,13 +129,7 @@ function install() { const install = require('gulp-install'); const print = require('gulp-print'); - let packageFiles = ['front/package.json']; - let services = fs.readdirSync(servicesDir); - services.forEach(service => { - let packageJson = `${servicesDir}/${service}/package.json`; - if (fs.existsSync(packageJson)) - packageFiles.push(packageJson); - }); + let packageFiles = ['front/package.json', 'print/package.json']; return gulp.src(packageFiles) .pipe(print(filepath => { return `Installing packages in ${filepath}`;