Skip to content

Commit bb1d373

Browse files
committed
Use sh instead of system cmd, exception: true in *.rake
1 parent 202d8c1 commit bb1d373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/changelog.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace :changelog do
99
ref_type = :pull if args[:id]
1010
path = Changelog::Entry.new(type: type, ref_id: args[:id], ref_type: ref_type).write
1111
cmd = "git add #{path}"
12-
system cmd, exception: true
12+
sh cmd
1313
puts "Entry '#{path}' created and added to git index"
1414
end
1515
end
@@ -21,7 +21,7 @@ namespace :changelog do
2121
Changelog.new.merge!.and_delete!
2222
cmd = "git commit -a -m 'Update Changelog'"
2323
puts cmd
24-
system cmd, exception: true
24+
sh cmd
2525
end
2626

2727
task :check_clean do

0 commit comments

Comments
 (0)