Skip to content

Commit 5bccf38

Browse files
committed
fix rooted path
1 parent e3d7e0b commit 5bccf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/YarnInstaller/yarnToolInstallerTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function getYarn(versionSpec: string, checkLatest: boolean) {
8080
]);
8181

8282
if (matches.length) {
83-
toolPath = path.join(toolPath, path.dirname(matches[0]));
83+
toolPath = path.dirname(matches[0]);
8484
} else {
8585
throw new Error("Yarn package layout unexpected.");
8686
}

0 commit comments

Comments
 (0)