Skip to content

Commit 68a09f9

Browse files
committed
eslint fix
1 parent ba45657 commit 68a09f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/turf-line-slice/index.js

+3-1
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)