Skip to content

Commit

Permalink
No longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Sep 16, 2023
1 parent 3a8eb0c commit 97cea89
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/kamal/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ def redacted(value)
end
end

def unredacted(value)
case
when value.respond_to?(:unredacted)
value.unredacted
when value.respond_to?(:transform_values)
value.transform_values { |value| unredacted value }
when value.respond_to?(:map)
value.map { |element| unredacted element }
else
value
end
end

# Escape a value to make it safe for shell use.
def escape_shell_value(value)
value.to_s.dump
Expand Down

0 comments on commit 97cea89

Please sign in to comment.