mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 12:34:47 +00:00
test: fix strict CI gates
This commit is contained in:
@@ -21,7 +21,7 @@ describe("restart-helper", () => {
|
||||
|
||||
async function prepareAndReadScript(env: Record<string, string>, gatewayPort = 18789) {
|
||||
const scriptPath = await prepareRestartScript(env, gatewayPort);
|
||||
if (scriptPath === undefined) {
|
||||
if (scriptPath == null) {
|
||||
throw new Error("expected restart script path");
|
||||
}
|
||||
const content = await fs.readFile(scriptPath, "utf-8");
|
||||
|
||||
Reference in New Issue
Block a user