Skip to content

Commit 25ccf0a

Browse files
committed
Fix interpolation in addVCVARSEnv()
1 parent 9ec93a2 commit 25ccf0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

windows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export function addVCVARSEnv() {
123123
for (let [k, v] of newEnv) {
124124
if (process.env[k] !== v) {
125125
if (/^Path$/i.test(k)) {
126-
const newPathStr = v.replace(`$(path.delimiter)${process.env['Path']}`, '')
126+
const newPathStr = v.replace(`${path.delimiter}${process.env['Path']}`, '')
127127
newPathEntries = newPathStr.split(path.delimiter)
128128
} else {
129129
core.exportVariable(k, v)

0 commit comments

Comments
 (0)