test: fix lint (#2032)

This commit is contained in:
Nolan Lawson 2021-04-11 09:00:10 -07:00 committed by GitHub
parent 11fca7b792
commit 3a91ad75b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ module.exports = {
rules: [
{
test: input => {
return input.endsWith(path.join("_workers", "blurhash.js"));
return input.endsWith(path.join('_workers', 'blurhash.js'))
},
use: {
loader: 'worker-loader',
@ -50,11 +50,11 @@ module.exports = {
{
test: input => {
return (
input.endsWith(path.join("tesseract.js", "dist", "worker.min.js")) ||
input.endsWith(path.join("tesseract.js", "dist", "worker.min.js.map")) ||
input.endsWith(path.join("tesseract.js-core", "tesseract-core.wasm")) ||
input.endsWith(path.join("tesseract.js-core", "tesseract-core.wasm.js"))
);
input.endsWith(path.join('tesseract.js', 'dist', 'worker.min.js')) ||
input.endsWith(path.join('tesseract.js', 'dist', 'worker.min.js.map')) ||
input.endsWith(path.join('tesseract.js-core', 'tesseract-core.wasm')) ||
input.endsWith(path.join('tesseract.js-core', 'tesseract-core.wasm.js'))
)
},
use: {
loader: 'file-loader',