Skip to content

Commit

Permalink
Use configfile instead of config
Browse files Browse the repository at this point in the history
  • Loading branch information
bersbersbers committed Mar 8, 2024
1 parent 76bcdb2 commit 6f75ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bandit/cli/main.py
Expand Up @@ -455,9 +455,9 @@ def main():
if ini_options:
# prefer command line, then ini file
args.config_file = _log_option_source(
parser.get_default("config"),
parser.get_default("configfile"),
args.config_file,
ini_options.get("config"),
ini_options.get("configfile"),
"config file",
)

Expand Down

0 comments on commit 6f75ca9

Please sign in to comment.