Skip to content

Commit 1142534

Browse files
author
Yorick Peterse
committedDec 27, 2015
Disable Git colours when syncing mspec
1 parent a246ed6 commit 1142534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎rakelib/mspec.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace :mspec do
1515

1616
rsync dir + "/*", "mspec"
1717

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

0 commit comments

Comments
 (0)
Please sign in to comment.