lib/git_flower/hotfix.rb in git_flower-0.1.3 vs lib/git_flower/hotfix.rb in git_flower-0.2.0
- old
+ new
@@ -11,10 +11,12 @@
end
private
def validate_git_repository!
- GitRepository.new(Dir.pwd).validate_for_hotfix!
+ GitService.
+ new(repository: GitFlower::GitRepository.new(Dir.pwd)).
+ validate_for_hotfix!
end
def create_hotfix!
create_story!("hotfix")
end