Skip to content
Snippets Groups Projects
Commit 23981107 authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

fix: oob goals empty cause a exception

parent c186b158
No related branches found
No related tags found
1 merge request!52fix: oob goals empty cause a exception
Pipeline #68201 passed with stage
in 1 minute and 39 seconds
......@@ -20,7 +20,7 @@ export const agentConfig = registerAs(
agentConsumerRateLimit: parseInt(process.env["AGENT_RETE_LIMIT"]!) || 5,
agentPort: parseInt(process.env["AGENT_PORT"]!),
agentOobGoals:
typeof process.env["AGENT_OOB_GOALS"] !== undefined
typeof process.env["AGENT_OOB_GOALS"] !== "undefined"
? process.env["AGENT_OOB_GOALS"]!.split(",")
: [],
agentIsSVDX: process.env["AGENT_IS_SVDX"] === "true",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment