mirror of
https://github.com/github/codeql-action.git
synced 2026-01-05 06:00:32 +08:00
Update src/runner.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
This commit is contained in:
committed by
Andrew Eisenberg
parent
e7e64d59be
commit
a6ebb19b5b
@@ -249,7 +249,8 @@ program
|
||||
const shEnvFileContents = Object.entries(tracerConfig.env)
|
||||
// Some vars contain ${LIB} that we do not want to be expanded when executing this script
|
||||
.map(
|
||||
([key, value]) => `export ${key}='${value.replace(/'/g, "'\"'\"'")}'`
|
||||
([key, value]) =>
|
||||
`export ${key}='${value.replace(/'/g, "'\"'\"'")}'`
|
||||
)
|
||||
.join("\n");
|
||||
fs.writeFileSync(shEnvFile, shEnvFileContents);
|
||||
|
||||
Reference in New Issue
Block a user