Fix typo in error msg (#5411)
Part of https://github.com/KittyCAD/modeling-app/issues/5355
This commit is contained in:
@ -204,7 +204,7 @@ async fn straight_line(
|
||||
(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"
|
||||
.to_owned(),
|
||||
}));
|
||||
}
|
||||
@ -213,7 +213,7 @@ async fn straight_line(
|
||||
(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(),
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user