Skip to content

Commit

Permalink
v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
naure committed Feb 22, 2021
1 parent 5e33b5f commit f2413a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zkinterface"
version = "1.3.2"
version = "1.3.3"
authors = ["Aurélien Nicolas <aurel@qed-it.com>"]
license = "MIT"
build = "build.rs"
Expand Down
5 changes: 4 additions & 1 deletion rust/src/consumers/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ pub fn list_workspace_files(paths: &[PathBuf]) -> Result<Vec<PathBuf>> {
let mut all_paths = vec![];

for path in paths {
if has_zkif_extension(path) || path == Path::new("-") {
if has_zkif_extension(path) {
all_paths.push(path.clone());
} else if path == Path::new("-") {
if paths.len() > 1 { return Err("Cannot combine files and stdin".into()); }
all_paths.push(path.clone());
} else {
for file in read_dir(path)? {
Expand Down

0 comments on commit f2413a4

Please sign in to comment.