commit cc8d7a70e87eedb960773248b5b30fadfa7bacf3
parent ea6653af97f7804f0469a390b4824883c2b34ab4
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Thu, 22 Aug 2024 11:07:39 -0700
Remove useless statement after throwing Error
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js
@@ -435,7 +435,6 @@ function setLength(a, b, length) {
*/
if (length <= 0) {
throw new Error("Zero length line wouldn't be able to be lengthened again")
- length = 0
}
/*
* Basically make it's origin zero, normalize it to be from