Skip to content

Commit

Permalink
Merge branch 'master' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorEulalio committed Apr 16, 2024
2 parents 8ddbde1 + 36d9a45 commit 9162a58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

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

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ function composeFlags(opts) {
flags += ` --iac`;
}

if (opts.recursive) {
if (opts.recursive && opts.mode == iacMode) {
flags += ` -r`;
}

if (opts.minimumSeverity) {
if (opts.minimumSeverity && opts.mode == iacMode) {
flags += ` -f=${opts.minimumSeverity}`;
}

Expand Down

0 comments on commit 9162a58

Please sign in to comment.