CLI: Support --exclude
option
#1540
Annotations
1 error and 6 warnings
|
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"`)`
|
packages/core/src/cli/cli.test.ts#L612
Delete `)`
|
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,⏎··`
|
packages/core/src/cli/cli.test.ts#L621
Replace `⏎····`${CLI}·validate·${temp}·--exclude·"**/V2Bad1.sol"`,⏎··` with ``${CLI}·validate·${temp}·--exclude·"**/V2Bad1.sol"``
|
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.`⏎···········`
|
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,⏎········`
|
This job failed
Loading