Skip to content

Commit 984468d

Browse files
committed
chore: fix comments
1 parent f763264 commit 984468d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/controllers/prepare-controller.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ export class PrepareController extends EventEmitter {
127127
}
128128

129129
private async startNativeWatcherWithPrepare(platformData: IPlatformData, projectData: IProjectData, prepareData: IPrepareData): Promise<boolean> {
130-
let newWatchStarted = false;
130+
let newNativeWatchStarted = false;
131131
let hasNativeChanges = false;
132132

133133
if (prepareData.watchNative) {
134-
newWatchStarted = await this.startNativeWatcher(platformData, projectData);
134+
newNativeWatchStarted = await this.startNativeWatcher(platformData, projectData);
135135
}
136136

137-
if (newWatchStarted) {
137+
if (newNativeWatchStarted) {
138138
hasNativeChanges = await this.$prepareNativePlatformService.prepareNativePlatform(platformData, projectData, prepareData);
139139
}
140140

lib/data/prepare-data.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export class PrepareData extends ControllerDataBase {
2020
if (_.isBoolean(data.watchNative)) {
2121
this.watchNative = data.watchNative;
2222
}
23-
this.watch = data.watch;
2423
}
2524
}
2625

0 commit comments

Comments
 (0)