Skip to content

Commit

Permalink
Update header in build:prod
Browse files Browse the repository at this point in the history
Use string concatenation instead of template literal for backwards compatibility w/ node 0.12
  • Loading branch information
shuwen authored and Shuwen Qian committed Mar 3, 2016
1 parent cd450ad commit ccf6d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ gulp.task('build:prod', ['patch-lib', 'build'], function() {
spare: true
}))
.pipe(inlinemin())
.pipe(header(`<!--\n${fs.readFileSync('BANNER.txt').toString('utf8')}\n-->`))
.pipe(header('<!--\n' + fs.readFileSync('BANNER.txt').toString('utf8') + ' -->'))
.pipe(changed(DIST))
.pipe(gulp.dest(DIST));
});
Expand Down

0 comments on commit ccf6d27

Please sign in to comment.