Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not check for updates if libman.json file is missing
Check the libman.json file exists before checking for updates. Fixes error logged due to a null filename being used for the libman.json file when checking for updates. Could not get Library Manager updates for '' System.ArgumentNullException: Value cannot be null. (Parameter 'key') at System.Collections.Generic.Dictionary`2.FindValue(TKey key) at System.Collections.Generic.Dictionary`2.ContainsKey(TKey key) at Microsoft.Web.LibraryManager.Vsix.Contracts.DependenciesFactory.FromConfigFile(String configFilePath) at MonoDevelop.LibraryManager.Updates.UpdatedLibrariesService.GetUpdatesAsync(FilePath configFilePath, CancellationToken cancellationToken) at MonoDevelop.LibraryManager.Updates.UpdatedLibrariesService.SafeGetUpdatesAsync(FilePath configFilePath, CancellationToken cancellationToken)
- Loading branch information