Use compact.join strategy here too
This commit is contained in:
committed by
GitHub
parent
8b913068de
commit
ab7c6c6540
@@ -21,11 +21,7 @@ class Mrsk::Commands::Auditor < Mrsk::Commands::Base
|
||||
|
||||
private
|
||||
def audit_log_file
|
||||
if config.destination
|
||||
"mrsk-#{config.service}-#{config.destination}-audit.log"
|
||||
else
|
||||
"mrsk-#{config.service}-audit.log"
|
||||
end
|
||||
[ "mrsk", config.service, config.destination, "audit.log" ].compact.join("-")
|
||||
end
|
||||
|
||||
def tagged_record_line(line)
|
||||
|
||||
Reference in New Issue
Block a user