Skip to content

Commit

Permalink
fix linting in gulpfile (prebid#6694)
Browse files Browse the repository at this point in the history
* eslint(standard/object-curly-even-spacing)
* eslint(space-before-blocks)
* eslint(no-multi-spaces)
  • Loading branch information
mxdvl authored and umakajan committed May 6, 2021
1 parent d90a8d3 commit 92d6d0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 92d6d0b

Please sign in to comment.