Merge branch '2.3' into 2.4
This commit is contained in:
@ -144,7 +144,7 @@ module.exports = function() {
|
||||
str = str.replace( /\x1B\[[(?);]{0,2}(;?\d)*./g, '')
|
||||
|
||||
// Trim trailing whitespace that cli-table generates
|
||||
str = str.split(os.EOL).map(s => s.split('\t').map(s => s.trimEnd()).join('\t')).join(os.EOL)
|
||||
str = str.split(os.EOL).map(s => s.split('\t').map(s => s.trim()).join('\t')).join(os.EOL)
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
Reference in New Issue
Block a user