Skip to content

Commit

Permalink
Fix formatting statement
Browse files Browse the repository at this point in the history
  • Loading branch information
brennenputh committed Jan 4, 2025
1 parent fdc3498 commit a8f6e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/chainsaw/config/log-statements-data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ M.logStatements = {
lua = 'assert({{var}}, "{{marker}} {{var}}")',
python = 'assert {{var}}, "{{marker}} {{var}}"',
typescript = 'console.assert({{var}}, "{{marker}} {{var}}");',
rust = 'assert!({{var}}, "{} {}", "{marker}", "{var}");'
rust = 'assert!({{var}}, "{} {}", "{{marker}}", "{{var}}");'
},
typeLog = {
lua = 'print("{{marker}} {{var}}: type is " .. type({{var}}))',
Expand All @@ -54,7 +54,7 @@ M.logStatements = {
applescript = 'log "{{marker}} {{emoji}}"',
ruby = 'puts "{{marker}} {{emoji}}"',
go = 'fmt.Println("{{marker}} {{emoji}}")',
rust = 'println!("{} {}", "{marker}", "{emoji}");'
rust = 'println!("{} {}", "{{marker}}", "{{emoji}}");'
},
sound = { -- NOTE `\a` is terminal bell, the other commands are system sound
sh = 'printf "\\a" # {{marker}}',
Expand Down

0 comments on commit a8f6e8b

Please sign in to comment.