From b840bebeaf1e4bfbc4b5cb5e70a88b8c1461783e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 14 Aug 2016 03:18:35 +0300 Subject: [PATCH] Fix license banner in main.css after #1814. (#1888) --- gulpfile.babel.js | 2 +- test/file_content.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index d0271af6..f6be7f50 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -106,7 +106,7 @@ gulp.task('copy:license', () => gulp.task('copy:main.css', () => { - const banner = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license.type} License | ${pkg.homepage} */\n\n`; + const banner = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license} License | ${pkg.homepage} */\n\n`; gulp.src(`${dirs.src}/css/main.css`) .pipe(plugins().header(banner)) diff --git a/test/file_content.js b/test/file_content.js index 32b8e1da..0fcd9110 100644 --- a/test/file_content.js +++ b/test/file_content.js @@ -69,7 +69,7 @@ function runTests() { it('"main.css" should contain a custom banner', function (done) { var string = '/*! HTML5 Boilerplate v' + pkg.version + - ' | ' + pkg.license.type + ' License' + + ' | ' + pkg.license + ' License' + ' | ' + pkg.homepage + ' */\n\n/*\n'; checkString(path.resolve(dir, 'css/main.css'), string, done); });