Skip to content

Commit 95d4f20

Browse files
committed
Revert "fix: remove private modifier from ScopeJson.getTrackLane to fix capsule build"
This reverts commit f739685.
1 parent 5c8b3a8 commit 95d4f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/legacy/scope/scope-json.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class ScopeJson {
134134
}
135135

136136
trackLane(trackLaneData: TrackLane) {
137-
const existing = this._getTrackLane(trackLaneData.localLane);
137+
const existing = this.getTrackLane(trackLaneData.localLane);
138138
if (existing) {
139139
existing.remoteLane = trackLaneData.remoteLane;
140140
existing.remoteScope = trackLaneData.remoteScope;
@@ -150,7 +150,7 @@ export class ScopeJson {
150150
this.lanes.tracking.splice(index, 1);
151151
this.hasChanged = true;
152152
}
153-
_getTrackLane(localLane: string): TrackLane | undefined {
153+
private getTrackLane(localLane: string): TrackLane | undefined {
154154
return this.lanes.tracking.find((t) => t.localLane === localLane);
155155
}
156156
setLaneAsNew(laneName: string) {

0 commit comments

Comments
 (0)