X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fcommon.js;fp=lib%2Fcommon.js;h=723f922b20930355d6adc53ead1fc97f6e719597;hb=cea77553ae5746713defff5528a475c702797f37;hp=d1abf3ec3cce231f6b0332b2dcf8a13beadf71d2;hpb=1e7aa924e0c1081558235e54854f1fdd99940346;p=squeep-api-dingus diff --git a/lib/common.js b/lib/common.js index d1abf3e..723f922 100644 --- a/lib/common.js +++ b/lib/common.js @@ -308,7 +308,7 @@ const ensureLoggerLevels = (logger = {}) => { const unfoldHeaderLines = (lines) => { const foldedLineRE = /^(\t| +)(.*)$/; if (lines) { - lines.reduceRight((_, line, idx) => { + lines.reduceRight((_, line, idx) => { // NOSONAR const result = foldedLineRE.exec(line); if (result && idx) { const prevIdx = idx - 1;