From 17a126e5e1951fdfe8b3e2564e621148461adc5a Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 7 Nov 2017 10:36:23 +0000 Subject: [PATCH] Replaced console.log with console.error --- plugins/gatsby-remark-codepen-examples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);