Skip to content

Commit

Permalink
Fix upgrade prototype kit error
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS committed Jan 24, 2023
1 parent 69814ec commit b3decb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/manage-prototype-handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ async function postPluginsStatusHandler (req, res) {
let status = 'processing'
try {
const chosenPlugin = await getPluginForRequest(req)
if (!chosenPlugin && mode !== 'uninstall') {
status = 'error'
if (chosenPlugin && modeIsComplete(mode, chosenPlugin)) {
status = 'complete'
}
} catch (e) {
if (mode !== 'uninstall') {
Expand Down

0 comments on commit b3decb0

Please sign in to comment.