diff --git a/lib/main.js b/lib/main.js index 1b7c5b0f..ef74a7bc 100644 --- a/lib/main.js +++ b/lib/main.js @@ -19,7 +19,7 @@ function parse (src) { var key = keyValueArr[1] // default undefined or missing values to empty string - var value = keyValueArr[2] ? keyValueArr[2] : '' + var value = keyValueArr[2] || '' // expand newlines in quoted values var len = value ? value.length : 0