diff --git a/contracts/package.json b/contracts/package.json index 3169fe785..2459d2513 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -20,7 +20,7 @@ "lint": "pnpm run lint:sol && npm run lint:ts && npm run prettier", "lint:fix": "pnpm run lint:sol:fix && npm run lint:ts:fix && npm run prettier:fix", "clean": "rimraf .openzeppelin build cache node_modules typechain-types coverage coverage.json", - "solidity:docgen": "npx hardhat docgen" + "solidity:docgen": "command -v forge && npx hardhat docgen || echo 'Foundry installation required for Solidity docgen, skipping...'" }, "devDependencies": { "@ethereumjs/util": "9.0.3",