Workaround for Rubocop string split for Windows
This commit is contained in:
parent
b6b923c087
commit
196f572290
|
@ -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]
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue