return false for each jobId if it does not exist (#37116)

This commit is contained in:
Melissa Alvarez 2019-05-28 11:58:43 -04:00 committed by GitHub
parent 50bd081722
commit ca2a66dd26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -354,6 +354,10 @@ export function jobsProvider(callWithRequest) {
const exists = allJobIds.some(existsJobId => regexp.test(existsJobId));
results[jobId] = exists;
});
} else {
jobIds.forEach((jobId) => {
results[jobId] = false;
});
}
return results;