Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e015cd

Browse filesBrowse files
committed
Fix build-examples.mjs
1 parent 754ea6f commit 0e015cd
Copy full SHA for 0e015cd

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎scripts/build-examples.mjs

Copy file name to clipboardExpand all lines: scripts/build-examples.mjs
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const examples = readdirSync('examples')
1515
async function buildExamples () {
1616
await execa('yarn', [], { stdio: 'inherit' })
1717
await execa('yarn', ['build'], { stdio: 'inherit' })
18-
mkdirSync(path.resolve('temp'))
18+
const tempPath = path.resolve('temp')
19+
if (!existsSync(tempPath))
20+
mkdirSync(tempPath)
1921
await execa('yarn', ['pack', '-f', `../../temp/fluent-vue-${id}.tgz`], {
2022
stdio: 'inherit',
2123
cwd: 'packages/fluent-vue'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.