Skip to content

Commit ea61a76

Browse files
committed
fix: don't build every time the application from sidekick when using cloud build
Currently the application is built every time from sidekick when opening the app and starting cloud build. This happens as we decided that there are changes in app_resources as `prepareData.release` is undefined but `prepareInfo.release` is false. This way the check `prepareData.release !== this._prepareInfo.release` passes and we set `this._changesInfo.appResourcesChanged` to `true`.
1 parent c978bcf commit ea61a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/project-changes-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class ProjectChangesService implements IProjectChangesService {
9191
await platformData.platformProjectService.checkForChanges(this._changesInfo, prepareData, projectData);
9292
}
9393

94-
if (prepareData.release !== this._prepareInfo.release) {
94+
if (!!prepareData.release !== !!this._prepareInfo.release) {
9595
this.$logger.trace(`Setting all setting to true. Current options are: `, prepareData, " old prepare info is: ", this._prepareInfo);
9696
this._changesInfo.appResourcesChanged = true;
9797
this._changesInfo.configChanged = true;

0 commit comments

Comments
 (0)