Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Commit 06d8c30

Browse files
committed
fix tools path
1 parent 87ef827 commit 06d8c30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/platforms/mingwplatform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MingwPlatform extends windowsplatform_1.default {
2929
}
3030
addExtraEnvVars(basePath) {
3131
super.addExtraEnvVars(basePath);
32-
core_1.addPath(path_1.join(basePath, "Tools", this._platform.substr(0, 7) + "0" + this._platform.substr(8), "bin"));
32+
core_1.addPath(path_1.join(basePath, "Tools", this._platform.substr(0, 7) + "0" + this._platform.substr(7), "bin"));
3333
}
3434
extraTools() {
3535
const tools = super.extraTools();

src/platforms/mingwplatform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class MingwPlatform extends WindowsPlatform {
3939
join(
4040
basePath,
4141
"Tools",
42-
this._platform.substr(0, 7) + "0" + this._platform.substr(8),
42+
this._platform.substr(0, 7) + "0" + this._platform.substr(7),
4343
"bin"
4444
)
4545
);

0 commit comments

Comments
 (0)