diff --git a/lib/kamal/commands/auditor.rb b/lib/kamal/commands/auditor.rb index 9846d8e2..17e88171 100644 --- a/lib/kamal/commands/auditor.rb +++ b/lib/kamal/commands/auditor.rb @@ -11,7 +11,7 @@ def record(line, **details) combine \ [ :mkdir, "-p", config.run_directory ], append( - [ :echo, audit_tags(**details).except(:version, :service_version, :service).to_s, line ], + [ :echo, "\"#{audit_tags(**details).except(:version, :service_version, :service)}\"", "\"#{line}\"" ], audit_log_file ) end