This commit is contained in:
10
node_modules/trim-lines/index.js
generated
vendored
Normal file
10
node_modules/trim-lines/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = trimLines
|
||||
|
||||
var ws = /[ \t]*\n+[ \t]*/g
|
||||
var newline = '\n'
|
||||
|
||||
function trimLines(value) {
|
||||
return String(value).replace(ws, newline)
|
||||
}
|
||||
Reference in New Issue
Block a user