fix(updatemanager): only git repos can soft recover (#2191)
This commit is contained in:
@@ -250,6 +250,9 @@ export default class UpdatePanelEntry extends Mixins(BaseMixin) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isCorrupt() {
|
get isCorrupt() {
|
||||||
|
// Only git repos can be corrupt
|
||||||
|
if (this.configuredType !== 'git_repo') return false
|
||||||
|
|
||||||
return this.repo.corrupt ?? false
|
return this.repo.corrupt ?? false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user