Skip to content

Commit 03625fd

Browse files
Fix feature usage tracking
1 parent 3ce296a commit 03625fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Refitter/Analytics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static Task LogFeatureUsage(Settings settings)
2626
foreach (var property in typeof(Settings).GetProperties())
2727
{
2828
var value = property.GetValue(settings);
29-
if (value is null)
29+
if (value is null or false)
3030
continue;
3131

3232
property.GetCustomAttributes(typeof(CommandOptionAttribute), true)

0 commit comments

Comments
 (0)