Skip to content

Commit e55ef66

Browse files
committed
fix: 🐛 Fixed hardhat config
1 parent 1210a61 commit e55ef66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardhat.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import '@matterlabs/hardhat-zksync-toolbox';
44
import '@nomiclabs/hardhat-solhint';
55
import '@typechain/hardhat';
66

7-
if (!process.env.INFURA_API_KEY && process.env.NODE_ENV !== 'test') {
7+
if (process.env.NODE_ENV !== 'test' && !process.env.INFURA_API_KEY) {
88
throw new Error('INFURA_API_KEY must be provided with .env');
99
}
1010

0 commit comments

Comments
 (0)