remove printlns from stdlib (#2467)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
2
src/wasm-lib/Cargo.lock
generated
2
src/wasm-lib/Cargo.lock
generated
@ -1915,7 +1915,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "kcl-lib"
|
name = "kcl-lib"
|
||||||
version = "0.1.56"
|
version = "0.1.57"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"approx 0.5.1",
|
"approx 0.5.1",
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "kcl-lib"
|
name = "kcl-lib"
|
||||||
description = "KittyCAD Language implementation and tools"
|
description = "KittyCAD Language implementation and tools"
|
||||||
version = "0.1.56"
|
version = "0.1.57"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/KittyCAD/modeling-app"
|
repository = "https://github.com/KittyCAD/modeling-app"
|
||||||
|
|||||||
@ -163,9 +163,6 @@ async fn inner_import(
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
//print the current working directory
|
|
||||||
println!("Current working directory: {:?}", std::env::current_dir().unwrap());
|
|
||||||
|
|
||||||
// Make sure the file exists.
|
// Make sure the file exists.
|
||||||
if !args.ctx.fs.exists(&file_path, args.source_range).await? {
|
if !args.ctx.fs.exists(&file_path, args.source_range).await? {
|
||||||
return Err(KclError::Semantic(KclErrorDetails {
|
return Err(KclError::Semantic(KclErrorDetails {
|
||||||
|
|||||||
@ -204,19 +204,6 @@ async fn inner_pattern_linear_3d(
|
|||||||
|
|
||||||
async fn pattern_linear(data: LinearPattern, geometry: Geometry, args: Args) -> Result<Geometries, KclError> {
|
async fn pattern_linear(data: LinearPattern, geometry: Geometry, args: Args) -> Result<Geometries, KclError> {
|
||||||
let id = uuid::Uuid::new_v4();
|
let id = uuid::Uuid::new_v4();
|
||||||
println!(
|
|
||||||
"id: {:#?}",
|
|
||||||
ModelingCmd::EntityLinearPattern {
|
|
||||||
axis: kittycad::types::Point3D {
|
|
||||||
x: data.axis()[0],
|
|
||||||
y: data.axis()[1],
|
|
||||||
z: data.axis()[2],
|
|
||||||
},
|
|
||||||
entity_id: geometry.id(),
|
|
||||||
num_repetitions: data.repetitions(),
|
|
||||||
spacing: data.distance(),
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
let resp = args
|
let resp = args
|
||||||
.send_modeling_cmd(
|
.send_modeling_cmd(
|
||||||
|
|||||||
Reference in New Issue
Block a user