Skip to content

Commit

Permalink
Merge pull request #408 from owasp-noir/hahwul-dev
Browse files Browse the repository at this point in the history
Refactor status codes handing logic
  • Loading branch information
ksg97031 authored Sep 22, 2024
2 parents 2eb09d5 + a5aa117 commit 7d92c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/noir.cr
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class NoirRunner
add_path_parameters

# Set status code
if any_to_bool(@options["status_codes"]) == true || any_to_bool(@options["exclude_codes"]) != ""
if any_to_bool(@options["status_codes"]) == true || @options["exclude_codes"].to_s != ""
update_status_codes
end

Expand Down

0 comments on commit 7d92c9f

Please sign in to comment.