Skip to content

Commit

Permalink
remove error message if config profile file does not exist (localstac…
Browse files Browse the repository at this point in the history
  • Loading branch information
dfangl authored Dec 20, 2023
1 parent b03dc54 commit 5c3ef15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion localstack/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ def load_environment(profiles: str = None, env=os.environ) -> List[str]:
profile = profile.strip()
path = os.path.join(CONFIG_DIR, f"{profile}.env")
if not os.path.exists(path):
print(f"Profile '{profile}' specified, but file {path} not found.")
continue
environment.update(dotenv.dotenv_values(path))

Expand Down

0 comments on commit 5c3ef15

Please sign in to comment.