We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4e019 commit fa2c17eCopy full SHA for fa2c17e
lib/ini.js
@@ -72,7 +72,7 @@ const decode = str => {
72
const lines = str.split(/[\r\n]+/g)
73
74
for (const line of lines) {
75
- if (!line || line.match(/^\s*[;#]/)) {
+ if (!line || line.match(/^\s*[;#]/) || line.match(/^\s*$/)) {
76
continue
77
}
78
const match = line.match(re)
test/fixtures/foo.ini
@@ -10,7 +10,7 @@ o = p
10
11
; Test single quotes
12
s = 'something'
13
-
+
14
; Test mixing quotes
15
16
s1 = "something'
0 commit comments