Skip to content

Commit 5d9ab39

Browse files
authored
fix: linting (#166)
1 parent b20d6a5 commit 5d9ab39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/ini.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ const unsafe = (val, doUnesc) => {
186186
}
187187
try {
188188
val = JSON.parse(val)
189-
} catch (_) {}
189+
} catch {
190+
// ignore errors
191+
}
190192
} else {
191193
// walk the val to find the first not-escaped ; character
192194
let esc = false

0 commit comments

Comments
 (0)