Skip to content

Commit 2f38c8f

Browse files
committed
Create the exaples dir
1 parent f82cfc5 commit 2f38c8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/playground-examples/scripts/copyFiles.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const copyDir = join(__dirname, '..', 'copy', '*')
77
const jsonDir = join(__dirname, '..', 'generated', '*.json')
88
const outDir = join(__dirname, '..', '..', 'typescriptlang-org', 'static', 'js', 'examples')
99

10+
// This can safely fail
11+
execSync(`mkdir ${outDir}`)
12+
1013
// Move samples
1114
execSync(`cp -R ${copyDir} ${outDir}`)
1215

0 commit comments

Comments
 (0)