mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 03:34:51 +03:00
Update leo/commands/node.rs
This commit is contained in:
parent
378aed5f54
commit
d4a78a5633
@ -60,7 +60,7 @@ impl Command for Node {
|
||||
} else {
|
||||
// Open the Leo build/ directory
|
||||
let path = context.dir()?;
|
||||
let build_directory = BuildDirectory::open(&path).map_err(|_| CliError::needs_leo_build);
|
||||
let build_directory = BuildDirectory::open(&path).map_err(|_| CliError::needs_leo_build)?;
|
||||
|
||||
// Change the cwd to the Leo build/ directory to deploy aleo files.
|
||||
std::env::set_current_dir(&build_directory)
|
||||
|
Loading…
Reference in New Issue
Block a user