Skip to content

Commit efb000d

Browse files
alericksonCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent dbd1689 commit efb000d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/code/FindHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ private PSResourceInfo FindDependencyWithUpperBound(
14191419

14201420
ConcurrentDictionary<string, Task<FindResults>> cachedNetworkCalls = new ConcurrentDictionary<string, Task<FindResults>>();
14211421
debugMsgs.Enqueue("In FindHelper::FindDependencyWithUpperBound()");
1422-
// See if the network call we're making is already caced, if not, call FindNameAsync() and cache results
1422+
// See if the network call we're making is already cached, if not, call FindNameAsync() and cache results
14231423
string key = $"{dep.Name}|{dep.VersionRange.MaxVersion.ToString()}|{_type}";
14241424
debugMsgs.Enqueue("Checking if network call is cached.");
14251425
response = cachedNetworkCalls.GetOrAdd(key, _ => currentServer.FindVersionGlobbingAsync(dep.Name, dep.VersionRange, includePrerelease: true, ResourceType.None, getOnlyLatest: true, errorMsgs, warningMsgs, debugMsgs, verboseMsgs));

0 commit comments

Comments
 (0)