Skip to content

Commit 9c8b186

Browse files
committed
Ignore hh-etherscan and hh-waffle in check-dependencies
1 parent 63a09b5 commit 9c8b186

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/check-dependencies.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ function mergeDependenciesMap(dependencyMaps) {
150150
function getAllPackageJsonPaths() {
151151
const packageNames = fs.readdirSync(path.join(__dirname, "..", "packages"));
152152

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

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

0 commit comments

Comments
 (0)