mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-05-09 03:00:20 -04:00
7 lines
219 B
JavaScript
7 lines
219 B
JavaScript
export function matchesHotspotSummaryLane(lane, targetLane, lanePrefixes = []) {
|
|
if (lane === targetLane) {
|
|
return true;
|
|
}
|
|
return lanePrefixes.some((prefix) => prefix.length > 0 && lane.startsWith(prefix));
|
|
}
|