mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix issue when no environment is specified
This commit is contained in:
@ -77,7 +77,7 @@ def cli(ctx, environment, target, upload_port, project_dir, silent, verbose,
|
||||
config.get("platformio", "env_default"))
|
||||
|
||||
check_project_defopts(config)
|
||||
check_project_envs(config, environment or env_default)
|
||||
check_project_envs(config, environment or env_default or [])
|
||||
|
||||
results = []
|
||||
start_time = time()
|
||||
|
Reference in New Issue
Block a user