Skip to content

Commit

Permalink
fix: Exclude error results from IaC test summary
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekatr committed Apr 14, 2022
1 parent 2648416 commit 9adb3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/test/iac/index.ts
Expand Up @@ -283,7 +283,7 @@ export default async function(...args: MethodArgs): Promise<TestCommandResult> {
}
}

if (iacOutputMeta && isNewIacOutputSupported) {
if (!notSuccess && iacOutputMeta && isNewIacOutputSupported) {
response += `${EOL}${SEPARATOR}${EOL}`;

const iacTestSummary = `${formatIacTestSummary(
Expand Down

0 comments on commit 9adb3ee

Please sign in to comment.