From 0268daa9d36a3dbf20029f172bb70dc0b4d60b9d Mon Sep 17 00:00:00 2001 From: VinPropane Date: Thu, 28 May 2026 23:29:17 -0400 Subject: [PATCH] NEO-94: Fix Bruno require path for CI sandbox context roots. Use ./scripts/ like combat-targets; ../scripts/ is blocked by Bruno CLI path traversal policy in CI. --- .../npc-runtime-snapshot/Get npc runtime snapshot.bru | 2 +- .../npc-runtime-snapshot/Get snapshot after cast telegraph.bru | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bruno/neon-sprawl-server/npc-runtime-snapshot/Get npc runtime snapshot.bru b/bruno/neon-sprawl-server/npc-runtime-snapshot/Get npc runtime snapshot.bru index 2c6e36c..76d4ea5 100644 --- a/bruno/neon-sprawl-server/npc-runtime-snapshot/Get npc runtime snapshot.bru +++ b/bruno/neon-sprawl-server/npc-runtime-snapshot/Get npc runtime snapshot.bru @@ -5,7 +5,7 @@ meta { } script:pre-request { - const { resetPrototypeCombatTargets } = require("../scripts/combat-targets-reset-helper.js"); + const { resetPrototypeCombatTargets } = require("./scripts/combat-targets-reset-helper.js"); await resetPrototypeCombatTargets(bru); } diff --git a/bruno/neon-sprawl-server/npc-runtime-snapshot/Get snapshot after cast telegraph.bru b/bruno/neon-sprawl-server/npc-runtime-snapshot/Get snapshot after cast telegraph.bru index 77e75b6..7fd13de 100644 --- a/bruno/neon-sprawl-server/npc-runtime-snapshot/Get snapshot after cast telegraph.bru +++ b/bruno/neon-sprawl-server/npc-runtime-snapshot/Get snapshot after cast telegraph.bru @@ -11,7 +11,7 @@ docs { script:pre-request { const axios = require("axios"); - const { resetPrototypeCombatTargets } = require("../scripts/combat-targets-reset-helper.js"); + const { resetPrototypeCombatTargets } = require("./scripts/combat-targets-reset-helper.js"); const baseUrl = bru.getEnvVar("baseUrl") || bru.getVar("baseUrl"); const playerId = bru.getEnvVar("playerId") || bru.getVar("playerId"); const jsonHeaders = { headers: { "Content-Type": "application/json" } };