Skip to content

Commit a1a09b0

Browse files
committed
Lint
1 parent 6cbd5c1 commit a1a09b0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/openapi-typescript/scripts/update-examples.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ async function generateSchemas() {
1616
const cwd =
1717
process.platform === "win32"
1818
? // 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)
19+
rootCWD.toString().slice("file:///".length)
2220
: rootCWD;
2321

2422
try {

0 commit comments

Comments
 (0)