We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0903c commit 4a91aafCopy full SHA for 4a91aaf
extra_scripts/post.py
@@ -52,7 +52,7 @@ def rename_secrets_after_upload(*args, **kwargs):
52
syntax_error_content = f'''{{
53
"WARNING_REMOVE_THIS_LINE_TO_USE": "If you modified secrets, ERASE DEVICE FIRST: pio run -e <env> -t erase",
54
// INTENTIONAL SYNTAX ERROR: Remove this comment line and the line above to use
55
-{original_content[1:-1]},
+{original_content[1:-1] if len(original_content) >= 2 else ''},
56
"INJECTED_TIMESTAMP": "{timestamp}",
57
}}'''
58
0 commit comments