Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jan 9, 2025
1 parent 8554306 commit ef29b72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/build-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ function buildJekyll(path) {
if (process.env.BUILD) {
throw error;
} else {
log(`Javascript minification failed on line ${error.line} col ${error.col}:`, error.message);
console.log(
`Javascript minification failed on line ${error.line} col ${error.col}:`,
error.message,
);
}
} else {
fs.writeFileSync(targetPath, code);
Expand Down

0 comments on commit ef29b72

Please sign in to comment.