Skip to content

Commit 17a126e

Browse files
committed
Replaced console.log with console.error
1 parent 3f6854d commit 17a126e

File tree

1 file changed

+1
-1
lines changed
  • plugins/gatsby-remark-codepen-examples

1 file changed

+1
-1
lines changed

plugins/gatsby-remark-codepen-examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = ({markdownAST}) => {
2121
// Verify that the specified example file exists.
2222
const filePath = join(__dirname, `../../${href}.js`);
2323
if (!existsSync(filePath)) {
24-
console.log(
24+
console.error(
2525
`Invalid Codepen link specified; no such file "${filePath}"`,
2626
);
2727
process.exit(1);

0 commit comments

Comments
 (0)