From 386ae08298e80fb04f10eb1885430858da8c9b26 Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Thu, 15 Aug 2024 08:01:31 -0500 Subject: [PATCH] Remove dbg --- src/wasm-lib/kcl/src/std/extrude.rs | 3 --- src/wasm-lib/kcl/src/std/patterns.rs | 2 +- src/wasm-lib/kcl/src/std/sketch.rs | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/wasm-lib/kcl/src/std/extrude.rs b/src/wasm-lib/kcl/src/std/extrude.rs index b344ecf18a..0a0081c4a9 100644 --- a/src/wasm-lib/kcl/src/std/extrude.rs +++ b/src/wasm-lib/kcl/src/std/extrude.rs @@ -16,13 +16,10 @@ use crate::{ /// Extrudes by a given amount. pub async fn extrude(args: Args) -> Result { - 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()) } diff --git a/src/wasm-lib/kcl/src/std/patterns.rs b/src/wasm-lib/kcl/src/std/patterns.rs index 7cc07a2651..5929e1568f 100644 --- a/src/wasm-lib/kcl/src/std/patterns.rs +++ b/src/wasm-lib/kcl/src/std/patterns.rs @@ -254,7 +254,7 @@ async fn make_transform<'a>( } fn array_to_point3d(json: &serde_json::Value, source_ranges: Vec) -> Result { - 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, diff --git a/src/wasm-lib/kcl/src/std/sketch.rs b/src/wasm-lib/kcl/src/std/sketch.rs index eb9d27be33..0f19d060d4 100644 --- a/src/wasm-lib/kcl/src/std/sketch.rs +++ b/src/wasm-lib/kcl/src/std/sketch.rs @@ -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 { - dbg!(); let (sketch_group, tag): (SketchGroup, Option) = 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)) }