From 2a4cf4b93938e847fce4b7c8641492e60cd4bd7d Mon Sep 17 00:00:00 2001 From: Max Duval Date: Thu, 6 May 2021 14:13:37 +0100 Subject: [PATCH] fix linting in gulpfile (#6694) * eslint(standard/object-curly-even-spacing) * eslint(space-before-blocks) * eslint(no-multi-spaces) --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 9bf378779d11..e2bed2a660f4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -170,12 +170,12 @@ function makeWebpackPkg() { .pipe(webpackStream(cloned, webpack)) .pipe(uglify()) .pipe(replace(/('|")v\$prebid\.modulesList\$('|")/g, makeModuleList(externalModules))) - .pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid}))) + .pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid }))) .pipe(gulp.dest('build/dist')); } -function getModulesListToAddInBanner(modules){ - return (modules.length > 0) ? modules.join(', ') : 'All available modules in current version.'; +function getModulesListToAddInBanner(modules) { + return (modules.length > 0) ? modules.join(', ') : 'All available modules in current version.'; } function gulpBundle(dev) {