json-to-properties
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "json-to-properties", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A standalone utility to transform language files in JSON format into .properties files, and languages files in .properties format into JSON format.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -106,2 +106,6 @@ var fs = require('fs'), | ||
reader.on('line', function (line) { | ||
// Skip comments lines (lines starting with #) and empty lines | ||
if (line && (line.charAt(0) === '#' || line.charAt(0) === '!' || line.trim().length === 0)) { | ||
return; | ||
} | ||
lines.push(line); | ||
@@ -108,0 +112,0 @@ }); |
22451
400