We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cbd5c1 commit a1a09b0Copy full SHA for a1a09b0
1 file changed
packages/openapi-typescript/scripts/update-examples.ts
@@ -16,9 +16,7 @@ async function generateSchemas() {
16
const cwd =
17
process.platform === "win32"
18
? // execa/cross-spawn can not handle URL objects on Windows, so convert it to string and cut away the protocol
19
- rootCWD
20
- .toString()
21
- .slice("file:///".length)
+ rootCWD.toString().slice("file:///".length)
22
: rootCWD;
23
24
try {
0 commit comments