Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/naptha/tesseract.js.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-08-09 08:49:14 +0300
committerYour Name <you@example.com>2022-08-09 08:49:14 +0300
commit58d28944d30207d41b21547b5e96ff19d9f47e2d (patch)
treee05a04b4162556db4dcf625a118573ccdafb9021
parenta8287a99aaef33485e6e755b1b6f578eaabc5e1c (diff)
Ran linter
-rw-r--r--src/worker-script/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker-script/index.js b/src/worker-script/index.js
index c0c0fa0..4d46754 100644
--- a/src/worker-script/index.js
+++ b/src/worker-script/index.js
@@ -102,7 +102,7 @@ const loadLanguage = async ({
const fetchUrl = `${path}/${lang}.traineddata${gzip ? '.gz' : ''}`;
const resp = await (isWebWorker ? fetch : adapter.fetch)(fetchUrl);
if (!resp.ok) {
- throw Error(`Network error while fetching ${fetchUrl}. Response code: ${resp.status}`)
+ throw Error(`Network error while fetching ${fetchUrl}. Response code: ${resp.status}`);
}
data = await resp.arrayBuffer();
} else {