runState is not used for task anymore
This commit is contained in:
+1
-1
@@ -628,7 +628,7 @@ function scheduleTask(appId, args, values, callback) {
|
||||
assert.strictEqual(typeof values, 'object');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
assert(values.installationState || values.runState);
|
||||
assert(values.installationState);
|
||||
|
||||
tasks.add(tasks.TASK_APP, [ appId, args ], function (error, taskId) {
|
||||
if (error) return callback(new AppsError(AppsError.INTERNAL_ERROR, error));
|
||||
|
||||
Reference in New Issue
Block a user