CLI: Support --exclude
option
#1540
checks.yml
on: pull_request
lint
43s
coverage
4m 21s
Matrix: tests
Annotations
1 error and 7 warnings
lint
Process completed with exit code 1.
|
lint:
packages/core/src/cli/cli.test.ts#L610
Replace `execAsync(⏎····`${CLI}·validate·${temp}·--contract·BecomesBadLayout·--reference·StorageV1·--exclude·"**/Validate.sol"`` with `⏎····execAsync(`${CLI}·validate·${temp}·--contract·BecomesBadLayout·--reference·StorageV1·--exclude·"**/Validate.sol"`)`
|
lint:
packages/core/src/cli/cli.test.ts#L612
Delete `)`
|
lint:
packages/core/src/cli/cli.test.ts#L613
Replace `error?.message.includes('No·validation·report·found·for·contract·contracts/test/cli/Validate.sol:BecomesBadLayout'),·error?.message` with `⏎····error?.message.includes('No·validation·report·found·for·contract·contracts/test/cli/Validate.sol:BecomesBadLayout'),⏎····error?.message,⏎··`
|
lint:
packages/core/src/cli/cli.test.ts#L621
Replace `⏎····`${CLI}·validate·${temp}·--exclude·"**/V2Bad1.sol"`,⏎··` with ``${CLI}·validate·${temp}·--exclude·"**/V2Bad1.sol"``
|
lint:
packages/core/src/cli/validate/contract-report.ts#L102
Replace `·exclude·!==·undefined·?·`Ensure·the·contract·is·not·abstract·and·is·not·excluded·by·the·exclude·option.`` with `⏎··········exclude·!==·undefined⏎············?·`Ensure·the·contract·is·not·abstract·and·is·not·excluded·by·the·exclude·option.`⏎···········`
|
lint:
packages/core/src/cli/validate/contract-report.ts#L103
Replace ``No·validation·report·found·for·contract·${specifiedContracts.contract.fullyQualifiedName}`,·()·=>·userAction` with `⏎··········`No·validation·report·found·for·contract·${specifiedContracts.contract.fullyQualifiedName}`,⏎··········()·=>·userAction,⏎········`
|
coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|