Skip to content

fix(core): use try/catch in .evaluate() to avoid errors #47

fix(core): use try/catch in .evaluate() to avoid errors

fix(core): use try/catch in .evaluate() to avoid errors #47

Triggered via pull request January 31, 2024 10:18
@foxt451foxt451
synchronize #52
fix/evaluate
Status Failure
Total duration 1m 7s
Artifacts

check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 warnings
lint: packages/gpt-scraper-core/src/models/openai.ts#L6
'../errors.js' imported multiple times
lint: packages/gpt-scraper-core/src/models/openai.ts#L7
'../errors.js' imported multiple times
lint
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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: packages/gpt-scraper-core/src/crawler.ts#L36
Unexpected any. Specify a different type
lint: packages/gpt-scraper-core/src/crawler.ts#L220
Unexpected any. Specify a different type
lint: packages/gpt-scraper-core/src/markdown.ts#L3
Do not use "@ts-ignore" because it alters compilation errors
lint: packages/gpt-scraper-core/src/models/model.ts#L34
Do not use "@ts-ignore" because it alters compilation errors
lint: packages/gpt-scraper-core/src/models/openai.ts#L22
Unexpected any. Specify a different type
lint: packages/gpt-scraper-core/src/models/openai.ts#L82
Unexpected any. Specify a different type
lint: packages/gpt-scraper-core/src/models/openai.ts#L124
Unexpected any. Specify a different type