From 284d5d56ed99c67b93a65904a00fdb00a2552a0e Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Tue, 12 Nov 2024 14:31:08 -0700 Subject: [PATCH] fix: do not append spec in name --- src/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent.ts b/src/agent.ts index 33c012b..01deaa3 100644 --- a/src/agent.ts +++ b/src/agent.ts @@ -52,7 +52,7 @@ export class Agent implements SfAgent { let agentSpec: AgentJobSpec; if (this.mockDir) { - const specFileName = `${config.name}Spec.json`; + const specFileName = `${config.name}.json`; const specFilePath = join(this.mockDir, `${specFileName}`); try { this.logger.debug(`Using mock directory: ${this.mockDir} for agent job spec creation`);