Skip to content

Commit 4c116a0

Browse files
committed
eslint fix
1 parent 4f3bac4 commit 4c116a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/turf-line-slice/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ function lineSlice(startPt, stopPt, line) {
5454
clipCoords.push(coords[i]);
5555
}
5656
clipCoords.push(ends[1].geometry.coordinates);
57-
return linestring(clipCoords, line.properties, { ...('id' in line && { id: line.id }) });
57+
return linestring(clipCoords, line.properties, {
58+
...("id" in line && { id: line.id }),
59+
});
5860
}
5961

6062
export { lineSlice };

0 commit comments

Comments
 (0)