forked from platformio/platformio-core
Fix missing auto-uploading by default within init command
This commit is contained in:
1 parent
8686936a07
commit
418b693fe0
2 files changed
+9
-4
No files matched your search
@@ -89,8 +89,8 @@ def fill_project_envs(project_file, board_types, disable_auto_uploading):
|
||||
content.append("framework = %s" % framework)
|
||||
content.append("board = %s" % type_)
|
||||
|
||||
content.append("%stargets = upload" % "# " if disable_auto_uploading
|
||||
else "")
|
||||
content.append("%stargets = upload" % ("# " if disable_auto_uploading
|
||||
else ""))
|
||||
|
||||
with open(project_file, "a") as f:
|
||||
f.write("\n".join(content))
|
||||
Reference in new issue
Block a user