mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00: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
File diff suppressed because one or more lines are too long
@@ -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