Skip to content

Commit

Permalink
fix: logs again
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 25, 2022
1 parent 1e82ece commit 9e54db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,14 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
}

if(VersionStatus.SUCCESS.localizedString != current.getStatus()) {
print("\(self.implementation.TAG) notifyAppReady was not called, roll back current version: \(current)")
print("\(self.implementation.TAG) notifyAppReady was not called, roll back current version: \(current.toString())")
self.implementation.rollback(version: current)
let res = self._reset(toAutoUpdate: true)
if (!res) {
return
}
} else {
print("\(self.implementation.TAG) notifyAppReady was called. This is fine: \(current)")
print("\(self.implementation.TAG) notifyAppReady was called. This is fine: \(current.toString())")
}
self.appReadyCheck = nil;
}
Expand Down

0 comments on commit 9e54db5

Please sign in to comment.