Skip to content

Commit

Permalink
fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Aug 15, 2022
1 parent d4e0939 commit 958783c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
let _ = self.implementation.setNextBundle(next: next.getId())
} catch {
print("\(self.implementation.TAG) Error downloading file", error.localizedDescription)
self.notifyListeners("downloadFailed", data: ["version": latestVersionName])
self.notifyListeners("downloadFailed", data: ["version": latestVersionName ?? ""])
}
}
}
Expand Down

0 comments on commit 958783c

Please sign in to comment.