Skip to content

Commit 3a91e6f

Browse files
committed
fix: fix addSystemEnv on Linux/Mac
1 parent e5f4cd3 commit 3a91e6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/setup_cpp.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.

dist/setup_cpp.js.map

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

src/utils/env/addEnv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function addEnvSystem(name: string, val: string | undefined) {
3434
case "linux":
3535
case "darwin": {
3636
const profile_path = untildify("~/.profile")
37-
appendFileSync(profile_path, `\nexport ${name}="${val}\n`)
37+
appendFileSync(profile_path, `\nexport ${name}="${val}"\n`)
3838
core.info(`${name}="${val} was added to "${profile_path}"`)
3939
return
4040
}

0 commit comments

Comments
 (0)