Skip to content

Commit 092909a

Browse files
committed
Remove markers whose descriptions start with //
1 parent 35ec295 commit 092909a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/disable-marker-pack.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ for (const marker of markersToRemove) {
3535
const currentMarkers = readJSON('../data/markers.json');
3636

3737
const result = currentMarkers.filter(marker => {
38+
const isPrivateMarker = marker.description.startsWith('//');
3839
const id = hash(marker);
39-
const needsRemoval = hashes.has(id);
40+
const needsRemoval = hashes.has(id) || isPrivateMarker;
4041
return !needsRemoval;
4142
});
4243

0 commit comments

Comments
 (0)