mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
Scaffold: Suppress ESLint JSON.parse() syntax errors
This commit is contained in:
parent
1e08985dcd
commit
c19f43ea46
1 changed files with 3 additions and 1 deletions
|
|
@ -2327,7 +2327,9 @@ var Scaffold = new function () {
|
|||
return JSON.parse(lintOutput);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.logError(e);
|
||||
if (!(e instanceof SyntaxError)) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
}
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue