Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Aug 26, 2023
1 parent e45a1f2 commit 9dd04d5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/cmd_kcl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ impl crate::cmd::Command for CmdKclExport {
ctx.export_kcl_file("", input, &self.output_dir, &self.output_format)
.await?;

// Check if we have files in our output directory.
let files = std::fs::read_dir(&self.output_dir)?
.map(|res| res.map(|e| e.path()))
.collect::<Result<Vec<_>, std::io::Error>>()?;
println!("files: {:?}", files);

Ok(())
}
}

0 comments on commit 9dd04d5

Please sign in to comment.