Commit 0af6562
authored
UsersToMap can be null (#2545)
🐛 (TfsWorkItemMigrationProcessor.cs): add null check for usersToMap to
prevent potential null reference exception
The change adds a null check for the `usersToMap` object before
accessing its `IdentityMap` property. This prevents a potential null
reference exception if `usersToMap` is null, ensuring the application
handles such cases gracefully and improves overall stability.
FYI @satano
Closes: #2544
Discussion:
#2540File tree
1 file changed
+1
-1
lines changed- src/MigrationTools.Clients.TfsObjectModel/Processors
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
0 commit comments