No need to return args as part of task.get
This reverts commit831e22b4ff. This reverts commit6774514bd2.
This commit is contained in:
@@ -648,6 +648,7 @@ function checkAppState(app, state) {
|
||||
if (app.taskId) return new BoxError(BoxError.BAD_STATE, `Locked by task ${app.taskId} : ${app.installationState} / ${app.runState}`);
|
||||
|
||||
if (app.installationState === exports.ISTATE_ERROR) {
|
||||
// allow task to be called again if that was the errored task
|
||||
if (app.error.installationState === state) return null;
|
||||
|
||||
// allow uninstall from any state
|
||||
|
||||
Reference in New Issue
Block a user