mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 07:25:20 +00:00
Replaced console.log with console.error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user