Skip to content

Commit

Permalink
fix: linting (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Aug 22, 2022
1 parent b20d6a5 commit 5d9ab39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ini.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ const unsafe = (val, doUnesc) => {
}
try {
val = JSON.parse(val)
} catch (_) {}
} catch {
// ignore errors
}
} else {
// walk the val to find the first not-escaped ; character
let esc = false
Expand Down

0 comments on commit 5d9ab39

Please sign in to comment.