Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Hotfix some znc and zargo interface issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Z committed Dec 24, 2020
1 parent d34f755 commit 129f414
Show file tree
Hide file tree
Showing 15 changed files with 115 additions and 93 deletions.
118 changes: 59 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion zargo/src/command/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ impl Command {
}

let source_directory_path = SourceDirectory::path(&manifest_path);
let source = zinc_project::Source::try_from_path(&source_directory_path, true)?;
let source =
zinc_project::Source::try_from_path(&source_directory_path, &manifest_path, true)?;
let project = zinc_project::Project::new(manifest.clone(), source);

DataDirectory::create(&manifest_path)?;
Expand Down
3 changes: 2 additions & 1 deletion zargo/src/command/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ impl Command {
}

let source_directory_path = SourceDirectory::path(&manifest_path);
let source = zinc_project::Source::try_from_path(&source_directory_path, true)?;
let source =
zinc_project::Source::try_from_path(&source_directory_path, &manifest_path, true)?;
let project = zinc_project::Project::new(manifest.clone(), source);

DataDirectory::create(&manifest_path)?;
Expand Down
Loading

0 comments on commit 129f414

Please sign in to comment.