Skip to content

Commit

Permalink
Removed local implementation condition
Browse files Browse the repository at this point in the history
  • Loading branch information
0xamogh committed Sep 28, 2021
1 parent 8dfe5cf commit 01e95bb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions packages/hardhat-core/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"name": "hardhat",
"name": "@slingshot_finance/hardhat",
"version": "2.6.4",
"author": "Nomic Labs LLC",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://hardhat.org",
"repository": "github:nomiclabs/hardhat",
"repository": {
"type": "git",
"url": "git+https://github.com/nomiclabs/hardhat.git"
},
"main": "internal/lib/hardhat-lib.js",
"types": "internal/lib/hardhat-lib.d.ts",
"description": "Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.",
Expand Down Expand Up @@ -161,5 +164,11 @@
"lcovonly"
],
"all": true
},
"bugs": {
"url": "https://github.com/nomiclabs/hardhat/issues"
},
"directories": {
"test": "test"
}
}
3 changes: 2 additions & 1 deletion packages/hardhat-core/src/internal/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ async function main() {
}

if (!isHardhatInstalledLocallyOrLinked()) {
throw new HardhatError(ERRORS.GENERAL.NON_LOCAL_INSTALLATION);
console.log("Using hardhat custom implementation ");
// throw new HardhatError(ERRORS.GENERAL.NON_LOCAL_INSTALLATION);
}

if (willRunWithTypescript(hardhatArguments.config)) {
Expand Down

0 comments on commit 01e95bb

Please sign in to comment.