diff --git a/lib/helmsnap/generate.rb b/lib/helmsnap/generate.rb index faba286..1fa59e4 100644 --- a/lib/helmsnap/generate.rb +++ b/lib/helmsnap/generate.rb @@ -27,7 +27,8 @@ def call snapshots_path.glob(["**/*yaml", "**/*.yml"]).each do |path| content = path.read content.gsub!(/\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\.\d+/, "2022-01-01 00:00:00.000") - content.gsub!(/\d\d-\d\d-\d\d-\d\d-\d\d-\d\d-\d\d/, "2022-01-01-00-00-00") + content.gsub!(/\d\d\d\d-\d\d-\d\d-\d\d-\d\d-\d\d/, "2022-01-01-00-00-00") + content.gsub!(/\d\d\d\d-\d\d-\d\d-\d\d-\d\d/, "2022-01-01-00-00") path.write(content) end end