Skip to content

Commit

Permalink
feat: Fix message when no config file is found (#5394)
Browse files Browse the repository at this point in the history
* Fix message when no config file found

* Formatting

---------

Co-authored-by: Leonardo Gama <[email protected]>
  • Loading branch information
Leo10Gama and Leonardo Gama authored Jun 21, 2023
1 parent d094da4 commit 8a7bbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samcli/lib/config/samconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def get_default_file(config_dir: str) -> str:
config_file = filename

if config_files_found == 0: # Config file doesn't exist (yet!)
LOG.info(f"No config file found. Creating one as {config_file}.")
LOG.debug("No config file found in this directory.")
elif config_files_found > 1: # Multiple config files; let user know which is used
LOG.info(
f"More than one samconfig file found; using {config_file}."
Expand Down

0 comments on commit 8a7bbe6

Please sign in to comment.