Skip to content

Commit

Permalink
Added line breaks before no files processed CLI logs for readability …
Browse files Browse the repository at this point in the history
…↞ [auto-sync from `adamlui/js-utils`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 14, 2024
1 parent 90c5c56 commit 63a4f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const pkgName = '@adamlui/minify.js',
printIfNotQuiet(`\n${bg + ( msgs.info_minComplete || 'Minification complete' )}!${nc}`);
printIfNotQuiet(`${bw + minifyData.length} ${ msgs.info_file || 'file' }`
+ `${ minifyData.length > 1 ? 's' : '' } ${ msgs.info_minified || 'minified' }.${nc}`);
} else printIfNotQuiet(`${by + ( msgs.info_noFilesProcessed || 'No unminified JavaScript files processed' )}.${nc}`);
} else printIfNotQuiet(`\n${by + ( msgs.info_noFilesProcessed || 'No unminified JavaScript files processed' )}.${nc}`);
if (failedPaths.length > 0) {
printIfNotQuiet(`\n${br + failedPaths.length} ${ msgs.info_file || 'file' }`
+ `${ failedPaths.length > 1 ? 's' : '' } ${ msgs.info_failedToMinify || 'failed to minify' }:${nc}`);
Expand Down

0 comments on commit 63a4f9e

Please sign in to comment.