Updating snippets

This commit is contained in:
Skylar Grant 2022-12-08 12:37:21 -05:00
parent d7a071301d
commit 67dc1bfdb6
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
"Log if in Debug mode": { "Log if in Debug mode": {
"scope": "javascript", "scope": "javascript",
"prefix": "log", "prefix": "log",
"body": "if (config.debugMode) console.log($1);\n$0", "body": "if (config.debugMode) console.log(`[${(Date.now() - config.startTime)/1000}] I: $1`);\n$0",
"description": "Log output to console if in debug mode" "description": "Log output to console if in debug mode"
}, },
"Run only on Pi": { "Run only on Pi": {