Skip to content

fix: Update CNKI translator for new CNKI #2669

fix: Update CNKI translator for new CNKI

fix: Update CNKI translator for new CNKI #2669

Triggered via pull request November 21, 2023 16:21
Status Failure
Total duration 56s
Artifacts

ci.yml

on: pull_request
Lint, Check, Test
44s
Lint, Check, Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Lint, Check, Test: CNKI.js#L43
'url' is assigned a value but never used. Allowed unused vars must match /^detectWeb$|^doWeb$|^detectImport$|^doImport$|^doExport$|^detectSearch$|^doSearch$|^exports$/u
Lint, Check, Test: CNKI.js#L57
Async function 'getRefWorksByID' expected no return value
Lint, Check, Test: CNKI.js#L102
Multiple spaces found before '('
Lint, Check, Test: CNKI.js#L102
There should be no space after this paren
Lint, Check, Test: CNKI.js#L102
There should be no space before this paren
Lint, Check, Test: CNKI.js#L132
There should be no space after this paren
Lint, Check, Test: CNKI.js#L132
There should be no space before this paren
Lint, Check, Test: CNKI.js#L229
A space is required after '{'
Lint, Check, Test: CNKI.js#L229
A space is required before '}'
Lint, Check, Test: CNKI.js#L231
Unnecessary semicolon
Lint, Check, Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint, Check, Test: CNKI.js#L104
Closing curly brace appears on the same line as the subsequent block
Lint, Check, Test: CNKI.js#L134
Closing curly brace appears on the same line as the subsequent block
Lint, Check, Test: CNKI.js#L252
Unnecessary '.search()', use 'RegExp#test()' instead
Lint, Check, Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/