Skip to content

Commit 56f3f47

Browse files
committed
fix temp dir unlink
1 parent 35a8efe commit 56f3f47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/helmsnap/generate.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ def generate!(tmp_path)
4242
end
4343

4444
FileUtils.rmtree(snapshots_path)
45-
FileUtils.move(tmp_path, snapshots_path)
45+
FileUtils.cp_r(tmp_path, snapshots_path)
4646
end
4747
end

lib/helmsnap/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Helmsnap
4-
VERSION = "1.2.0"
4+
VERSION = "1.2.1"
55
end

0 commit comments

Comments
 (0)