Skip to content

Commit

Permalink
fix: monorepo & script
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 6, 2024
1 parent b77873d commit 41426e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
packages:
- 'packages/*'
- playground
- benchmark

catalog:
'@babel/parser': ^7.24.7
Expand Down
4 changes: 3 additions & 1 deletion scripts/inline-enums.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ export function scanEnums() {
}

// 3. save cache
if (!existsSync('temp')) mkdirSync('temp')
try {
mkdirSync('temp')
} catch {}

/** @type {EnumData} */
const enumData = {
Expand Down

0 comments on commit 41426e3

Please sign in to comment.