Skip to content

Commit

Permalink
Merge pull request #8 from davidhessler/feat/better-logging
Browse files Browse the repository at this point in the history
Feat/better logging
  • Loading branch information
davidhessler authored Jun 11, 2023
2 parents 32a0d06 + db9d124 commit c5291d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/cfn-guard-rule-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@ export class CfnGuardRuleExecutor {
if (result.code === 5) {
core.setFailed('CloudFormation Guard detected an error')
}

if (result.code === 0) {
core.notice('CloudFormation Guard detected no errors')
}
}
}

0 comments on commit c5291d4

Please sign in to comment.