Fix some strange formatting.
This commit is contained in:
parent
107d8ffc4c
commit
052d39e909
3 changed files with 9 additions and 5 deletions
6
lib/setup-tracer.js
generated
6
lib/setup-tracer.js
generated
|
|
@ -193,8 +193,10 @@ async function run() {
|
||||||
core.exportVariable('DYLD_INSERT_LIBRARIES', path.join(codeqlSetup.tools, 'osx64', 'libtrace.dylib'));
|
core.exportVariable('DYLD_INSERT_LIBRARIES', path.join(codeqlSetup.tools, 'osx64', 'libtrace.dylib'));
|
||||||
}
|
}
|
||||||
else if (process.platform === 'win32') {
|
else if (process.platform === 'win32') {
|
||||||
await exec.exec('powershell', [path.resolve(__dirname, '..', 'src', 'inject-tracer.ps1'),
|
await exec.exec('powershell', [
|
||||||
path.resolve(codeqlSetup.tools, 'win64', 'tracer.exe')], { env: { 'ODASA_TRACER_CONFIGURATION': mainTracerConfig.spec } });
|
path.resolve(__dirname, '..', 'src', 'inject-tracer.ps1'),
|
||||||
|
path.resolve(codeqlSetup.tools, 'win64', 'tracer.exe'),
|
||||||
|
], { env: { 'ODASA_TRACER_CONFIGURATION': mainTracerConfig.spec } });
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.exportVariable('LD_PRELOAD', path.join(codeqlSetup.tools, 'linux64', '${LIB}trace.so'));
|
core.exportVariable('LD_PRELOAD', path.join(codeqlSetup.tools, 'linux64', '${LIB}trace.so'));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -224,8 +224,10 @@ async function run() {
|
||||||
} else if (process.platform === 'win32') {
|
} else if (process.platform === 'win32') {
|
||||||
await exec.exec(
|
await exec.exec(
|
||||||
'powershell',
|
'powershell',
|
||||||
[path.resolve(__dirname, '..', 'src', 'inject-tracer.ps1'),
|
[
|
||||||
path.resolve(codeqlSetup.tools, 'win64', 'tracer.exe')],
|
path.resolve(__dirname, '..', 'src', 'inject-tracer.ps1'),
|
||||||
|
path.resolve(codeqlSetup.tools, 'win64', 'tracer.exe'),
|
||||||
|
],
|
||||||
{ env: { 'ODASA_TRACER_CONFIGURATION': mainTracerConfig.spec } });
|
{ env: { 'ODASA_TRACER_CONFIGURATION': mainTracerConfig.spec } });
|
||||||
} else {
|
} else {
|
||||||
core.exportVariable('LD_PRELOAD', path.join(codeqlSetup.tools, 'linux64', '${LIB}trace.so'));
|
core.exportVariable('LD_PRELOAD', path.join(codeqlSetup.tools, 'linux64', '${LIB}trace.so'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue