This commit is contained in:
8
node_modules/trim-trailing-lines/index.js
generated
vendored
Normal file
8
node_modules/trim-trailing-lines/index.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = trimTrailingLines
|
||||
|
||||
// Remove final newline characters from `value`.
|
||||
function trimTrailingLines(value) {
|
||||
return String(value).replace(/\n+$/, '')
|
||||
}
|
||||
Reference in New Issue
Block a user