Skip to content

Commit

Permalink
chore: disable anvil nightly warning (#1979)
Browse files Browse the repository at this point in the history
chore: disable nightly warning
  • Loading branch information
mattsse authored Jan 31, 2025
1 parent cfb13aa commit 0615d50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/node-bindings/src/nodes/anvil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ impl Anvil {
pub fn try_spawn(self) -> Result<AnvilInstance, NodeError> {
let mut cmd = self.program.as_ref().map_or_else(|| Command::new("anvil"), Command::new);
cmd.stdout(std::process::Stdio::piped()).stderr(std::process::Stdio::inherit());

// disable nightly warning
cmd.env("FOUNDRY_DISABLE_NIGHTLY_WARNING", "");

let mut port = self.port.unwrap_or_default();
cmd.arg("-p").arg(port.to_string());

Expand Down

0 comments on commit 0615d50

Please sign in to comment.