Skip to content

Commit

Permalink
Ignore hh-etherscan and hh-waffle in check-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Nov 13, 2023
1 parent 63a09b5 commit 9c8b186
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/check-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ function mergeDependenciesMap(dependencyMaps) {
function getAllPackageJsonPaths() {
const packageNames = fs.readdirSync(path.join(__dirname, "..", "packages"));

const packageJsons = packageNames.map((p) =>
path.join(__dirname, "..", "packages", p, "package.json")
);
const packageJsons = packageNames
// ignore hh-etherscan and hh-waffle because they only have a readme
.filter((p) => !["hardhat-etherscan", "hardhat-waffle"].includes(p))
.map((p) => path.join(__dirname, "..", "packages", p, "package.json"));

packageJsons.push(path.join(__dirname, "..", "package.json"));

Expand Down

0 comments on commit 9c8b186

Please sign in to comment.