Skip to content

Commit

Permalink
fix: YAML.dump quotes y when dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranf committed Apr 30, 2024
1 parent 25e2d62 commit fa63330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog_backup/local_filesystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def dump(object)
when :json
JSON.pretty_generate(object.deep_sort(array: disable_array_sort ? false : true))
when :yaml
YAML.dump(object.deep_sort(array: disable_array_sort ? false : true))
YAML.dump(object.deep_sort(array: disable_array_sort ? false : true)).gsub('"y":','y:')
else
raise 'invalid output_format specified or not specified'
end
Expand Down

0 comments on commit fa63330

Please sign in to comment.