Merge pull request #2096 from szeck87/rubocop-windows-fix

Workaround for Rubocop string split for Windows
This commit is contained in:
Steven Zeck 2018-05-23 13:34:49 -05:00 committed by GitHub
commit 36f00fe508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ module.exports = class Rubocop extends Beautifier
return text if stdout.length == 0
result = stdout.split("====================\n")
result = stdout.split("====================\r\n") if result.length == 1
result[result.length - 1]
)
)