Skip to content

Commit 0d7971c

Browse files
committed
refactor: early.rs + late.rs
1 parent b9e6e5a commit 0d7971c

File tree

5 files changed

+537
-522
lines changed

5 files changed

+537
-522
lines changed

crates/forge/src/cmd/eip712.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use std::{
1414
collections::BTreeMap,
1515
fmt::{Display, Formatter, Result as FmtResult, Write},
1616
path::{Path, PathBuf},
17+
slice,
1718
};
1819

1920
foundry_config::impl_figment_convert!(Eip712Args, build);
@@ -60,7 +61,7 @@ impl Eip712Args {
6061
&sess,
6162
&self.build,
6263
None,
63-
Some(vec![self.target_path].as_ref()),
64+
Some(slice::from_ref(&self.target_path)),
6465
)?;
6566

6667
// Parse and resolve

0 commit comments

Comments
 (0)