Browse Source

Replaced console.log with console.error

main
Brian Vaughn 7 years ago
parent
commit
17a126e5e1
  1. 2
      plugins/gatsby-remark-codepen-examples/index.js

2
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);

Loading…
Cancel
Save