lib/docman/commands/git_commit_cmd.rb in docman-0.0.14 vs lib/docman/commands/git_commit_cmd.rb in docman-0.0.15
- old
+ new
@@ -13,10 +13,10 @@
raise NoChangesError, "Repo not changed, commit not needed" unless @context.need_rebuild?
end
end
def execute
- message = "name: #{@context['name']} updated, state: #{@context['state']}"
+ message = "name: #{@context['name']} updated, state: #{@context.state_name}"
with_logging(message) do
GitUtil.commit(@context['root']['full_build_path'], @context['full_build_path'], message)
end
end
end
\ No newline at end of file