Fixed an issue when --upload-port CLI flag does not override declared upload_port option in "platformio.ini"

This commit is contained in:
Ivan Kravets committed 2019-08-28 19:56:09 +03:00
1 parent c671a8e235
commit 883a97a38c
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -97,6 +97,7 @@ env.Replace(
for key in list(clivars.keys()) if key in env
})
if env.subst("$BUILDCACHE_DIR"):
if not isdir(env.subst("$BUILDCACHE_DIR")):
makedirs(env.subst("$BUILDCACHE_DIR"))