diff --git a/packages/playground-examples/scripts/copyFiles.js b/packages/playground-examples/scripts/copyFiles.js index 2ebe91832bce..6598195399d4 100644 --- a/packages/playground-examples/scripts/copyFiles.js +++ b/packages/playground-examples/scripts/copyFiles.js @@ -7,6 +7,9 @@ const copyDir = join(__dirname, '..', 'copy', '*') const jsonDir = join(__dirname, '..', 'generated', '*.json') const outDir = join(__dirname, '..', '..', 'typescriptlang-org', 'static', 'js', 'examples') +// This can safely fail +execSync(`mkdir ${outDir}`) + // Move samples execSync(`cp -R ${copyDir} ${outDir}`)