diff --git a/plugins/gatsby-remark-codepen-examples/index.js b/plugins/gatsby-remark-codepen-examples/index.js index 2a73894e..d3872849 100644 --- a/plugins/gatsby-remark-codepen-examples/index.js +++ b/plugins/gatsby-remark-codepen-examples/index.js @@ -21,7 +21,7 @@ module.exports = ({markdownAST}) => { // Verify that the specified example file exists. const filePath = join(__dirname, `../../${href}.js`); if (!existsSync(filePath)) { - console.log( + console.error( `Invalid Codepen link specified; no such file "${filePath}"`, ); process.exit(1);