fix(ci): pass selected environment to Windows Ghidra fixture (#1281)

This commit is contained in:
Ysopwnable
2026-10-09 13:05:54 +00:00
committed by GitHub
parent d6d1cd2485
commit f085589957
@@ -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.