We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6a6ff commit 4c33c63Copy full SHA for 4c33c63
1 file changed
api/VsoClient.ts
@@ -170,10 +170,11 @@ export class VsoClient {
170
let resourceLocation = resourceLocations[i];
171
locationsLookup[resourceLocation.id.toLowerCase()] = resourceLocation;
172
}
173
+ // If we have completed successfully, cache the response.
174
+ this._locationsByAreaPromises[area] = areaLocationsPromise;
175
+
176
return locationsLookup;
177
});
-
- this._locationsByAreaPromises[area] = areaLocationsPromise;
178
179
180
return areaLocationsPromise;
@@ -309,4 +310,4 @@ export class VsoClient {
309
310
311
return result;
312
-}
313
+}
0 commit comments