only edit error if error

This commit is contained in:
Drew Ansbacher
2021-12-03 14:01:19 -07:00
committed by Aiden McClelland
parent bef29fdaf0
commit 972fc8c398

View File

@@ -283,10 +283,9 @@ export class AppShowPage {
} else if (error.type === DependencyErrorType.Transitive) {
errorText = 'Dependency has a dependency issue'
}
errorText = `${errorText}. ${ this.pkg.manifest.title} will not work as expected.`
}
errorText = `${errorText}. ${ this.pkg.manifest.title} will not work as expected.`
const depInfo = this.pkg.installed['dependency-info'][id]
return {