Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Jan 11, 2025
1 parent 3f77f49 commit e9d5e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/deployTips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function analyzeDeployErrorLogs(log: string, includeInLog = true, o
},
});
} else {
const promptText = AiProvider.buildPrompt("PROMPT_SOLVE_DEPLOYMENT_ERROR", logLine.trim());
const promptText = AiProvider.buildPrompt("PROMPT_SOLVE_DEPLOYMENT_ERROR", { "ERROR": logLine.trim() });
// No tip found, give the user an AI prompt
logResLines.push(c.yellow("No sfdx-hardis tip to solve this error. You can try the following prompt:"));
logResLines.push(c.yellow(promptText));
Expand Down

0 comments on commit e9d5e23

Please sign in to comment.