Skip to content

Commit

Permalink
fix(guard): Typo (aws-cloudformation#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvassallo authored and joshfried-aws committed Nov 22, 2024
1 parent 16f9b06 commit 2488649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guard/src/commands/reporters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct JunitReporter<'reporter> {
}

impl<'reporter> JunitReporter<'reporter> {
/// Update exit code only if code takes more presedence than current exit code
/// Update exit code only if code takes more precedence than current exit code
fn update_exit_code(&mut self, code: i32) {
if code == ERROR_STATUS_CODE
|| code == FAILURE_STATUS_CODE && self.exit_code != ERROR_STATUS_CODE
Expand Down

0 comments on commit 2488649

Please sign in to comment.