Skip to content

Commit

Permalink
fix: plugin installer don't dispatch end and success event
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Aug 11, 2024
1 parent 3195b7c commit 114ac88
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ export const isLighthousePluginEcoindexMustBeInstallOrUpdated = (
channels.ASYNCHRONOUS_LOG,
`Lighthouse-plugin-ecoindex installed.`
)
resolve(result)
return resolve(result)
})
.catch((error) => {
reject({
return reject({
result: false,
message: error,
version: currentVersion,
Expand All @@ -139,7 +139,7 @@ export const isLighthousePluginEcoindexMustBeInstallOrUpdated = (
channels.ASYNCHRONOUS_LOG,
`Lighthouse-plugin-ecoindex installed.`
)
resolve({
return resolve({
result: true,
message: `Don't need to update lighthouse-plugin-ecoindex 🚫`,
version: latestVersion,
Expand Down

0 comments on commit 114ac88

Please sign in to comment.