Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge 3a2c49d into e6dc3fd
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 8, 2019
2 parents e6dc3fd + 3a2c49d commit 9ddb6a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/copyright.js
Expand Up @@ -37,7 +37,10 @@ function findCopyright(fileGlobs, opts) {
}

if (result.error > 0) {
console.log('\nThe following files don\'t match the specified pattern:\n> %s\n', options.pattern);
console.log(`
The following file${result.error === 1 ? '' : 's'} ${result.error === 1 ? 'doesn\'t' : 'don\'t'} match the specified pattern:
"${options.pattern}"
`);

result.failedFiles.forEach((file) => {
console.log(`- ${file}`);
Expand All @@ -51,6 +54,7 @@ function main() {
let result = 0;
let fileGlobs = [
'*.js',
'build/**/*.js',
'lib/**/*.js',
'public/**/*.css',
'templates/**/*.html'
Expand Down

0 comments on commit 9ddb6a5

Please sign in to comment.