diff options
Diffstat (limited to 'web_src/js/features/codeeditor.js')
-rw-r--r-- | web_src/js/features/codeeditor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/codeeditor.js b/web_src/js/features/codeeditor.js index 2e268379b2..d9ddb58d00 100644 --- a/web_src/js/features/codeeditor.js +++ b/web_src/js/features/codeeditor.js @@ -6,7 +6,7 @@ const languagesByExt = {}; function getEditorconfig(input) { try { return JSON.parse(input.dataset.editorconfig); - } catch (_err) { + } catch { return null; } } |