Skip to content

Commit

Permalink
Use compact.join strategy here too
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Mar 9, 2023
1 parent 8b91306 commit ab7c6c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/mrsk/commands/auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ def reveal

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("-")

This comment has been minimized.

Copy link
@tbuehlmann

tbuehlmann Mar 9, 2023

Contributor

👍

end

def tagged_record_line(line)
Expand Down

0 comments on commit ab7c6c6

Please sign in to comment.