Skip to content

Commit a2eb494

Browse files
committed
Fix issue of blank needs showing with 0 needs
1 parent aa34694 commit a2eb494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configuration/Watch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public bool Start(Collection<Watch> watches, ConcurrentDictionary<string, string
213213
SetNeedWatch(watches);
214214
Initialize();
215215

216-
Logger.WriteLine($"{IdLogString}: Number of needs: {_needs?.Count}. (Watch.Start)", LogLevel.DEBUG);
216+
Logger.WriteLine($"{IdLogString}: Number of needs: {_needs?.Count ?? 0}. (Watch.Start)", LogLevel.DEBUG);
217217
}
218218
else
219219
{

0 commit comments

Comments
 (0)