Skip to content

Commit

Permalink
Remove dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchalmers committed Aug 15, 2024
1 parent 2a9442d commit 386ae08
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/wasm-lib/kcl/src/std/extrude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ use crate::{

/// Extrudes by a given amount.
pub async fn extrude(args: Args) -> Result<KclValue, KclError> {
dbg!();
let (length, sketch_group_set) = args.get_number_sketch_group_set()?;

dbg!();
let result = inner_extrude(length, sketch_group_set, args).await?;

dbg!();
Ok(result.into())
}

Expand Down
2 changes: 1 addition & 1 deletion src/wasm-lib/kcl/src/std/patterns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ async fn make_transform<'a>(
}

fn array_to_point3d(json: &serde_json::Value, source_ranges: Vec<SourceRange>) -> Result<Point3d, KclError> {
let serde_json::Value::Array(arr) = dbg!(json) else {
let serde_json::Value::Array(arr) = json else {
return Err(KclError::Semantic(KclErrorDetails {
message: "Expected an array of 3 numbers (i.e. a 3D point)".to_string(),
source_ranges,
Expand Down
3 changes: 0 additions & 3 deletions src/wasm-lib/kcl/src/std/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,13 +1410,10 @@ pub(crate) fn inner_profile_start(sketch_group: SketchGroup) -> Result<[f64; 2],

/// Close the current sketch.
pub async fn close(args: Args) -> Result<KclValue, KclError> {
dbg!();
let (sketch_group, tag): (SketchGroup, Option<TagDeclarator>) = args.get_sketch_group_and_optional_tag()?;

dbg!();
let new_sketch_group = inner_close(sketch_group, tag, args).await?;

dbg!();
Ok(KclValue::new_user_val(new_sketch_group.meta.clone(), new_sketch_group))
}

Expand Down

0 comments on commit 386ae08

Please sign in to comment.