Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in error msg #5411

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wasm-lib/kcl/src/std/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
(Some(_), Some(_)) => {
return Err(KclError::Semantic(KclErrorDetails {
source_ranges: vec![args.source_range],
message: "You cannot give both `end` and `end_absolute` params, you have to choose one or the other"
message: "You cannot give both `end` and `endAbsolute` params, you have to choose one or the other"

Check warning on line 207 in src/wasm-lib/kcl/src/std/sketch.rs

View check run for this annotation

Codecov / codecov/patch

src/wasm-lib/kcl/src/std/sketch.rs#L207

Added line #L207 was not covered by tests
.to_owned(),
}));
}
Expand All @@ -213,7 +213,7 @@
(None, None) => {
return Err(KclError::Semantic(KclErrorDetails {
source_ranges: vec![args.source_range],
message: "You must supply either `end` or `end_absolute` arguments".to_owned(),
message: "You must supply either `end` or `endAbsolute` arguments".to_owned(),

Check warning on line 216 in src/wasm-lib/kcl/src/std/sketch.rs

View check run for this annotation

Codecov / codecov/patch

src/wasm-lib/kcl/src/std/sketch.rs#L216

Added line #L216 was not covered by tests
}));
}
};
Expand Down
Loading