Commit 8112399
committed
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)1 parent e00a2ac commit 8112399
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments