Skip to content

Commit d44b0fc

Browse files
authored
Update BuildingShapeUtils.js
1 parent aa0a5d4 commit d44b0fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ class BuildingShapeUtils extends ShapeUtils {
8585

8686
for (const way of ways) {
8787
if (BuildingShapeUtils.isSelfIntersecting(way)) {
88-
const id = w.getAttribute();
88+
const id = way.getAttribute();
8989
const msg = 'Way ' + id + ' is self-intersecting';
9090
window.printError(msg);
9191
} else {
9292
validWays.push(way);
9393
}
9494
}
95-
95+
9696
const closedWays = [];
9797
const wayBegins = {};
9898
const wayEnds = {};

0 commit comments

Comments
 (0)