Skip to content

Commit

Permalink
fix alpha/beta update checks for bundled ui (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored Feb 23, 2025
1 parent 3473427 commit 5258f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/plugins/plugins.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ export class PluginsService {
'/var/packages/homebridge/target/app/lib/node_modules',
].includes(dirname(process.env.UIX_BASE_PATH))
&& pluginAction.name === this.configService.name
&& pluginAction.version !== 'latest'
&& !['latest', 'alpha', 'beta'].includes(pluginAction.version)
) {
try {
try {
Expand All @@ -763,7 +763,7 @@ export class PluginsService {
return withoutV
}
} catch (e) {
this.logger.error(`Failed to check for bundled update as ${e.message}.`)
this.logger.error(`Failed to check for bundled update: ${e.message}.`)
return ''
}
} else {
Expand Down

0 comments on commit 5258f0d

Please sign in to comment.