File tree 1 file changed +1
-5
lines changed
v-next/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ export class ResolverImplementation implements Resolver {
425
425
}
426
426
427
427
for ( const [ importedPackage , dependency ] of dependenciesMap . entries ( ) ) {
428
- // As `hardhat/console.sol` is resolved through npm, even if the
428
+ // As `hardhat/console.sol` is always resolved through npm, even if the
429
429
// `hardhat/` folder exists in the root of the package/project, we
430
430
// only remap that file.
431
431
//
@@ -436,10 +436,6 @@ export class ResolverImplementation implements Resolver {
436
436
// the dependency's name, and that's because we always resolve 'hardhat'
437
437
// as the hh package itself. If someone installs another package as
438
438
// "hardhat", it may break.
439
- //
440
- // If we support package#exports, we may treat hardhat as a normal
441
- // package, with the exception of `hardhat/console.sol` always being
442
- // resolved through npm.
443
439
if (
444
440
dependency !== PROJECT_ROOT_SENTINEL &&
445
441
importedPackage === "hardhat"
You can’t perform that action at this time.
0 commit comments