From 0ca918d8140f4ba14dc52dc846a71e5654f4aa06 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 4 Jan 2019 14:44:25 +0200 Subject: [PATCH] chore(files) throw() -> throw --- client/dom/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dom/files.js b/client/dom/files.js index 254b0b5a..3d358208 100644 --- a/client/dom/files.js +++ b/client/dom/files.js @@ -94,7 +94,7 @@ function showError(name) { const str = 'Wrong file name: ' + name; const error = new Error(str); - throw(error); + throw error; } function getSystemFile(file, callback) {