Commit 0cbd641
authored
Fix linting in
Fixes failing lint CI:
```
packages/inference lint:check: /home/runner/work/huggingface.js/huggingface.js/packages/inference/src/tasks/nlp/tokenClassification.ts
packages/inference lint:check: 5:10 error 'toArray' is defined but never used @typescript-eslint/no-unused-vars
packages/inference lint:check: /home/runner/work/huggingface.js/huggingface.js/packages/inference/src/tasks/nlp/zeroShotClassification.ts
packages/inference lint:check: 5:10 error 'toArray' is defined but never used @typescript-eslint/no-unused-vars
packages/inference lint:check: ✖ 2 problems (2 errors, 0 warnings)
packages/inference lint:check: Failed
```
From #1315 (cc
@hanouticelina for viz). Strange that in that PR, the CI didn't catch it
(the last
[commit](21f9d34)
was marked as ✅). May need to investigate (cc @coyotte508)@huggingface/inference (remove unused vars) (#1348)1 parent 1a63901 commit 0cbd641
File tree
2 files changed
+0
-2
lines changed- packages/inference/src/tasks/nlp
2 files changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments