Replace leading whitespace in commit message.
This allows for proper indentation to display ASCII art. Fixes travis-ci/travis-ci#2003
This commit is contained in:
parent
8926d4e6c0
commit
2a40ba59a7
|
@ -41,6 +41,7 @@ require 'config/emoij'
|
||||||
if !!options.repo
|
if !!options.repo
|
||||||
message = @githubify(message, options.repo.get('owner'), options.repo.get('name'))
|
message = @githubify(message, options.repo.get('owner'), options.repo.get('name'))
|
||||||
message.replace /\n/g, '<br/>'
|
message.replace /\n/g, '<br/>'
|
||||||
|
message.replace /^ +/, ' '
|
||||||
|
|
||||||
pathFrom: (url) ->
|
pathFrom: (url) ->
|
||||||
(url || '').split('/').pop()
|
(url || '').split('/').pop()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user