Skip to content

Commit

Permalink
Disable Git colours when syncing mspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorick Peterse committed Dec 27, 2015
1 parent a246ed6 commit 1142534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/mspec.rake
Expand Up @@ -15,7 +15,7 @@ namespace :mspec do

rsync dir + "/*", "mspec"

version = Dir.chdir(ENV['DIR']) { `git log --pretty=oneline -1`[0..7] }
version = Dir.chdir(ENV['DIR']) { `git log --pretty=oneline -1 --color=never`[0..7] }
sh "git add mspec/"
sh "git commit -m 'Updated MSpec source to #{version}.' mspec"
end
Expand Down

0 comments on commit 1142534

Please sign in to comment.