Skip to content

Commit

Permalink
Fix typo in configuration filename (#1466)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
  • Loading branch information
stoned and ssbarnea committed Mar 17, 2021
1 parent 9c2b672 commit 070f75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansiblelint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def get_config(arguments: List[str]) -> Namespace:
if not options.project_dir:
project_dir = os.path.dirname(
os.path.abspath(
options.config_file or f"{guess_project_dir()}/.ansiblelint"
options.config_file or f"{guess_project_dir()}/.ansible-lint"
)
)
options.project_dir = normpath(project_dir)
Expand Down

0 comments on commit 070f75e

Please sign in to comment.