Skip to content

fix: fix module-root.js edge case where there is a package.json in a subpath #451

fix: fix module-root.js edge case where there is a package.json in a subpath

fix: fix module-root.js edge case where there is a package.json in a subpath #451

Triggered via pull request January 18, 2024 01:06
Status Failure
Total duration 36s
Artifacts

nodejs.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
build (ubuntu-latest, 20.x): src/utils/module-root.js#L6
Replace `arg` with `(arg)`
build (ubuntu-latest, 20.x): src/utils/module-root.js#L7
Replace `arg` with `(arg)`
build (ubuntu-latest, 20.x): src/utils/module-root.js#L10
Replace `·cwd:·options.cwd` with `⏎······cwd:·options.cwd,⏎···`
build (ubuntu-latest, 20.x): src/utils/module-root.js#L12
Replace `findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·})` with `⏎····findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·}),⏎··`
build (ubuntu-latest, 20.x)
Process completed with exit code 1.
build (ubuntu-latest, 16.x): src/utils/module-root.js#L6
Replace `arg` with `(arg)`
build (ubuntu-latest, 16.x): src/utils/module-root.js#L7
Replace `arg` with `(arg)`
build (ubuntu-latest, 16.x): src/utils/module-root.js#L10
Replace `·cwd:·options.cwd` with `⏎······cwd:·options.cwd,⏎···`
build (ubuntu-latest, 16.x): src/utils/module-root.js#L12
Replace `findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·})` with `⏎····findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·}),⏎··`
build (ubuntu-latest, 16.x)
Process completed with exit code 1.
build (ubuntu-latest, 18.x): src/utils/module-root.js#L6
Replace `arg` with `(arg)`
build (ubuntu-latest, 18.x): src/utils/module-root.js#L7
Replace `arg` with `(arg)`
build (ubuntu-latest, 18.x): src/utils/module-root.js#L10
Replace `·cwd:·options.cwd` with `⏎······cwd:·options.cwd,⏎···`
build (ubuntu-latest, 18.x): src/utils/module-root.js#L12
Replace `findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·})` with `⏎····findup('package.json',·{·cwd:·path.dirname(callsites()[1].getFileName())·}),⏎··`
build (ubuntu-latest, 18.x)
Process completed with exit code 1.
build (ubuntu-latest, 20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/