Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Aug 29, 2024
1 parent b918c9c commit e56690a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions contracts/hardhat.ccip.zksync.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ const COMPILER_SETTINGS = {

// prune forge style tests from hardhat paths
subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS).setAction(
async (_, __, runSuper) => {
const paths = await runSuper()
const noTests = paths.filter((p: string) => !p.endsWith('.t.sol'))
const noCCIPTests = noTests.filter(
(p: string) => !p.includes('/v0.8/ccip/test'),
)
return noCCIPTests.filter(
(p: string) => !p.includes('src/v0.8/vendor/forge-std'),
)
},
async (_, __, runSuper) => {
const paths = await runSuper()
const noTests = paths.filter((p: string) => !p.endsWith('.t.sol'))
const noCCIPTests = noTests.filter(
(p: string) => !p.includes('/v0.8/ccip/test'),
)
return noCCIPTests.filter(
(p: string) => !p.includes('src/v0.8/vendor/forge-std'),
)
},
)

/**
Expand Down Expand Up @@ -90,7 +90,7 @@ let config = {
dockerImage: '',
tag: '',
},
// contractsToCompile: ['RMN', 'ARMProxy'], // uncomment this to compile only specific contracts
// contractsToCompile: ['RMN', 'ARMProxy'], // uncomment this to compile only specific contracts
},
},
warnings: !process.env.HIDE_WARNINGS,
Expand Down

0 comments on commit e56690a

Please sign in to comment.