Skip to content

Commit 69ff33b

Browse files
authored
Update packages/svelte/src/compiler/validate-options.js
1 parent 8c71678 commit 69ff33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/validate-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const common = {
1616
/* eslint-disable */
1717
rootDir: string(
1818
typeof process !== 'undefined'
19-
? process.cwd()
19+
? process.cwd?.()
2020
: // @ts-expect-error
2121
typeof Deno !== 'undefined'
2222
? // @ts-expect-error

0 commit comments

Comments
 (0)