lib/itamae/resource/git.rb in itamae-1.0.0.beta33 vs lib/itamae/resource/git.rb in itamae-1.0.0.beta34
- old
+ new
@@ -9,10 +9,10 @@
define_attribute :destination, type: String, default_name: true
define_attribute :repository, type: String, required: true
define_attribute :revision, type: String
def pre_action
- case action
+ case @current_action
when :sync
@attributes[:exist?] = true
end
end