Skip to content

Commit ed0a028

Browse files
committed
refactor: fix PR comments
1 parent c48a401 commit ed0a028

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/services/livesync/ios-device-livesync-service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class IOSDeviceLiveSyncService extends DeviceLiveSyncServiceBase implemen
108108
private async refreshApplicationCore(projectData: IProjectData) {
109109
let didRefresh = true;
110110
if (this.canRefreshWithNotification(projectData)) {
111-
didRefresh = await this.refreshWithNotification(projectData, didRefresh);
111+
didRefresh = await this.refreshWithNotification(projectData);
112112
} else {
113113
if (await this.setupSocketIfNeeded(projectData)) {
114114
await this.reloadPage();
@@ -120,7 +120,8 @@ export class IOSDeviceLiveSyncService extends DeviceLiveSyncServiceBase implemen
120120
return didRefresh;
121121
}
122122

123-
private async refreshWithNotification(projectData: IProjectData, didRefresh: boolean) {
123+
private async refreshWithNotification(projectData: IProjectData) {
124+
let didRefresh = false;
124125
await this.$lockService.executeActionWithLock(async () => {
125126
this._isLiveSyncSuccessful = null;
126127
this.attachToLiveSyncLogs();

0 commit comments

Comments
 (0)