Skip to content

Commit 0396e22

Browse files
klkvrmattsse
andauthored
Read dotenv when running chisel (#5250)
* add dotenv reading to chisel * rustfmt --------- Co-authored-by: Matthias Seitz <[email protected]>
1 parent 33acf8a commit 0396e22

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

chisel/src/bin/chisel.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ use chisel::{
88
prelude::{ChiselCommand, ChiselDispatcher, DispatchResult, SolidityHelper},
99
};
1010
use clap::Parser;
11-
use foundry_cli::cmd::{forge::build::BuildArgs, LoadConfig};
11+
use foundry_cli::{
12+
cmd::{forge::build::BuildArgs, LoadConfig},
13+
utils,
14+
};
1215
use foundry_common::evm::EvmArgs;
1316
use foundry_config::{
1417
figment::{
@@ -76,6 +79,8 @@ async fn main() -> eyre::Result<()> {
7679
Paint::disable()
7780
}
7881

82+
utils::load_dotenv();
83+
7984
// Parse command args
8085
let args = ChiselParser::parse();
8186

0 commit comments

Comments
 (0)