Skip to content

Commit 25c3d67

Browse files
authored
fix: typings path separator on windows (#5812)
1 parent 16064af commit 25c3d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/typings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class TypingsCommand implements ICommand {
7777
}
7878

7979
const items = res.map((item) => {
80-
const [group, artifact, version, sha1, file] = item.split("/");
80+
const [group, artifact, version, sha1, file] = item.split(path.sep);
8181
return {
8282
id: sha1 + version,
8383
group,

0 commit comments

Comments
 (0)