Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Dec 14, 2024
1 parent 1f6ee3f commit e57d143
Show file tree
Hide file tree
Showing 6 changed files with 1,025 additions and 1,043 deletions.
87 changes: 35 additions & 52 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zoo"
version = "0.2.90"
version = "0.2.91"
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -22,7 +22,7 @@ git_rev = "0.1.0"
heck = "0.5.0"
http = "1"
itertools = "0.12.1"
kcl-lib = { version = "0.2.28", features = ["disable-println"] }
kcl-lib = { version = "0.2.29", features = ["disable-println"] }
kcl-test-server = "0.1"
kittycad = { version = "0.3.28", features = ["clap", "tabled", "requests", "retry"] }
kittycad-modeling-cmds = { version = "0.2.77", features = ["websocket", "convert_client_crate", "tabled"] }
Expand Down
4 changes: 2 additions & 2 deletions src/cmd_kcl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ impl crate::cmd::Command for CmdKclFormat {
let input = std::str::from_utf8(&input)?;

// Parse the file.
let program = kcl_lib::Program::parse(input)?;
let program = kcl_lib::Program::parse_no_errs(input)?;

// Recast the program to a string.
let formatted = program.recast_with_options(&kcl_lib::FormatOptions {
Expand Down Expand Up @@ -1036,7 +1036,7 @@ impl crate::cmd::Command for CmdKclLint {
let input = std::str::from_utf8(&input)?;

// Parse the file.
let program = kcl_lib::Program::parse(input)?;
let program = kcl_lib::Program::parse_no_errs(input)?;

for discovered_finding in program.lint_all()? {
let finding_range = discovered_finding.pos.to_lsp_range(input);
Expand Down
4 changes: 2 additions & 2 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ impl Context<'_> {
let client = self.api_client(hostname)?;

let program =
kcl_lib::Program::parse(code).map_err(|err| kcl_error_fmt::KclError::new(code.to_string(), err))?;
kcl_lib::Program::parse_no_errs(code).map_err(|err| kcl_error_fmt::KclError::new(code.to_string(), err))?;

let ctx = kcl_lib::ExecutorContext::new(&client, settings).await?;
let session_data = ctx
.run_with_session_data(&program, &mut Default::default())
.run_with_session_data(program.into(), &mut Default::default())
.await
.map_err(|err| kcl_error_fmt::KclError::new(code.to_string(), err))?;

Expand Down
Loading

0 comments on commit e57d143

Please sign in to comment.