cli : Use ANCHOR_WALLET for migrate command (#779)
This commit is contained in:
parent
cfba251fc4
commit
bde45c2985
|
@ -1792,6 +1792,7 @@ fn migrate(cfg_override: &ConfigOverride) -> Result<()> {
|
||||||
std::fs::write("deploy.js", deploy_script_host_str)?;
|
std::fs::write("deploy.js", deploy_script_host_str)?;
|
||||||
std::process::Command::new("node")
|
std::process::Command::new("node")
|
||||||
.arg("deploy.js")
|
.arg("deploy.js")
|
||||||
|
.env("ANCHOR_WALLET", cfg.provider.wallet.to_string())
|
||||||
.stdout(Stdio::inherit())
|
.stdout(Stdio::inherit())
|
||||||
.stderr(Stdio::inherit())
|
.stderr(Stdio::inherit())
|
||||||
.output()?
|
.output()?
|
||||||
|
|
Loading…
Reference in New Issue