diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d79640584..c517e8536 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,6 +1,7 @@ packages: - 'packages/*' - playground + - benchmark catalog: '@babel/parser': ^7.24.7 diff --git a/scripts/inline-enums.js b/scripts/inline-enums.js index b1baaa6c5..4e582e251 100644 --- a/scripts/inline-enums.js +++ b/scripts/inline-enums.js @@ -198,7 +198,9 @@ export function scanEnums() { } // 3. save cache - if (!existsSync('temp')) mkdirSync('temp') + try { + mkdirSync('temp') + } catch {} /** @type {EnumData} */ const enumData = {