fix(ci): pass selected environment to Windows Ghidra fixture (#1281)
This commit is contained in:
@@ -214,7 +214,8 @@ describe("Ghidra headless launcher", () => {
|
||||
const token = "secret-token-that-must-not-leak";
|
||||
const javaHome = "C:\\Java\\jdk-21";
|
||||
const launcher = new GhidraHeadlessLauncher({
|
||||
environment: {},
|
||||
// Select the fixture's Node PATH and injected JVM options explicitly.
|
||||
environment: process.env,
|
||||
analyzeHeadlessPath: fixturePath,
|
||||
// POSIX follows the real inspected-JVM route; Windows uses the official
|
||||
// batch script because its launcher contract differs.
|
||||
|
||||
Reference in New Issue
Block a user