lib/aid/scripts/finish.rb in abtion-aid-0.3.1 vs lib/aid/scripts/finish.rb in abtion-aid-0.3.2
- old
+ new
@@ -13,10 +13,10 @@
def self.description
"Commits what is currently staged with a [finishes] tag"
end
def run
- within_dir(project_root) do
+ Dir.chdir(project_root) do
Bundler.with_clean_env do
check_for_staged_files!
check_for_master!
clean_up_feature_branch!