Skip to content

Commit 7016f79

Browse files
committed
Fix warning about "Unknown upload protocol custom"
1 parent 57c96f0 commit 7016f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _jlink_cmd_script(env, source):
184184
]
185185

186186
# custom upload tool
187-
elif "UPLOADCMD" in env:
187+
elif upload_protocol == "custom":
188188
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
189189

190190
if not upload_actions:

0 commit comments

Comments
 (0)