Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gutenye committed May 9, 2024
1 parent c838af0 commit 66412af
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/node/example/node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import filePath from 'path'
import fs from 'node:fs/promises'
import Ocr from '@gutenye/ocr-node'
import fs from 'fs/promises'

async function main() {
const ocr = await Ocr.create()
Expand All @@ -11,10 +10,6 @@ async function main() {
console.timeEnd('ocr')

console.log(result.map((v) => `${v.mean.toFixed(2)} ${v.text}`).join('\n'))

function r(path: string) {
return filePath.resolve(__dirname, path)
}
}

main()

0 comments on commit 66412af

Please sign in to comment.