Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/worker-script/node/getCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
} else {
TesseractCore = require('tesseract.js-core/tesseract-core-simd');
}
} else if ([OEM.DEFAULT, OEM.LSTM_ONLY].includes(oem)) {
TesseractCore = require('tesseract.js-core/tesseract-core-lstm');
} else if (![OEM.DEFAULT, OEM.LSTM_ONLY].includes(oem)) { TesseractCore = require('tesseract.js-core/tesseract-core-lstm');

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (24.x)

Multiple spaces found before 'TesseractCore'

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (24.x)

Statement inside of curly braces should be on next line

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (24.x)

Expected indentation of 4 spaces but found 0

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Multiple spaces found before 'TesseractCore'

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Statement inside of curly braces should be on next line

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Expected indentation of 4 spaces but found 0

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (14.x)

Multiple spaces found before 'TesseractCore'

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (14.x)

Statement inside of curly braces should be on next line

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (14.x)

Expected indentation of 4 spaces but found 0

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (22.x)

Multiple spaces found before 'TesseractCore'

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (22.x)

Statement inside of curly braces should be on next line

Check failure on line 23 in src/worker-script/node/getCore.js

View workflow job for this annotation

GitHub Actions / build (22.x)

Expected indentation of 4 spaces but found 0
} else {
TesseractCore = require('tesseract.js-core/tesseract-core');
}
Expand Down
Loading