Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jun 28, 2024
1 parent 28597c4 commit 874cb4c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
82 changes: 41 additions & 41 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]

[dependencies]
anyhow = "1.0.86"
kcl-lib = {version = "0.1.67", features = ["pyo3"]}
kcl-lib = {version = "0.1.68", features = ["pyo3"]}
kittycad = "0.3.6"
pyo3 = { version = "0.22.0", features = ["serde", "experimental-async"] }
reqwest = "0.11.0"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async fn execute_and_snapshot(code: String, units: UnitLength, image_format: Ima
.await
.map_err(|err| pyo3::exceptions::PyException::new_err(err.to_string()))?;
// Execute the program.
let _ = ctx.run(program, None).await?;
let _ = ctx.run(&program, None).await?;

// Zoom to fit.
ctx.engine
Expand Down Expand Up @@ -271,7 +271,7 @@ async fn execute_and_export(
.await
.map_err(|err| pyo3::exceptions::PyException::new_err(err.to_string()))?;
// Execute the program.
let _ = ctx.run(program, None).await?;
let _ = ctx.run(&program, None).await?;

// This will not return until there are files.
let resp = ctx
Expand Down

0 comments on commit 874cb4c

Please sign in to comment.