Skip to content

Commit bad942b

Browse files
committed
Update yarn sdks
Ran `yarn dlx @yarnpkg/sdks` to update sdks for VS Code.
1 parent 0fdf72b commit bad942b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
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

0 commit comments

Comments
 (0)