Workaround for Rubocop string split for Windows

This commit is contained in:
Steven Zeck 2018-03-28 15:13:45 -05:00
parent b6b923c087
commit 196f572290
No known key found for this signature in database
GPG Key ID: 621B374B29AA814A
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]
)
)