Skip to content

Commit f6bb276

Browse files
committed
Update yarn sdks
1 parent 3a00722 commit f6bb276

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.yarn/sdks/typescript/lib/tsserver.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ const moduleWrapper = tsserver => {
109109
str = `zip:${str}`;
110110
} break;
111111
}
112+
} else {
113+
str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`);
112114
}
113115
}
114116

.yarn/sdks/typescript/lib/tsserverlibrary.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ const moduleWrapper = tsserver => {
109109
str = `zip:${str}`;
110110
} break;
111111
}
112+
} else {
113+
str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`);
112114
}
113115
}
114116

.yarn/sdks/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript",
3-
"version": "5.0.2-sdk",
3+
"version": "5.0.3-sdk",
44
"main": "./lib/typescript.js",
55
"type": "commonjs"
66
}

0 commit comments

Comments
 (0)