Fix license banner in main.css after #1814. (#1888)

This commit is contained in:
XhmikosR
2016-08-14 03:18:35 +03:00
committed by Rob Larsen
parent a7fd7c0e96
commit b840bebeaf
2 changed files with 2 additions and 2 deletions

View File

@@ -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))

View File

@@ -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);
});