|
@ -21,7 +21,7 @@ module.exports = ({markdownAST}) => { |
|
|
// Verify that the specified example file exists.
|
|
|
// Verify that the specified example file exists.
|
|
|
const filePath = join(__dirname, `../../${href}.js`); |
|
|
const filePath = join(__dirname, `../../${href}.js`); |
|
|
if (!existsSync(filePath)) { |
|
|
if (!existsSync(filePath)) { |
|
|
console.log( |
|
|
console.error( |
|
|
`Invalid Codepen link specified; no such file "${filePath}"`, |
|
|
`Invalid Codepen link specified; no such file "${filePath}"`, |
|
|
); |
|
|
); |
|
|
process.exit(1); |
|
|
process.exit(1); |
|
|