Skip to content

fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #9791

fix(model): avoid throwing unnecessary error if updateOne() returns null in save()

fix(model): avoid throwing unnecessary error if updateOne() returns null in save() #9791

Triggered via pull request December 23, 2024 15:57
Status Failure
Total duration 2m 8s
Artifacts 1

test.yml

on: pull_request
Matrix: test
Lint JS-Files
38s
Lint JS-Files
Deno tests
1m 36s
Deno tests
Dependency Review
3s
Dependency Review
Replica Set tests
0s
Replica Set tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
Lint JS-Files: lib/model.js#L3695
Operator '??' must be spaced
Lint JS-Files
Process completed with exit code 1.
Node 18 MongoDB 8.0.0 OS ubuntu-22.04
Process completed with exit code 4.
Dependency Review
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint JS-Files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
coverage
1.2 MB