fix(check): fd now correctly gets marked as found.

This commit is contained in:
2025-11-06 17:02:42 -05:00
parent af0a9f9c4c
commit 17ce49cd2d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ const (
// fd
Fd AvailableFeatures = 2
// All features are present
All AvailableFeatures = Git & Fd
All AvailableFeatures = Git | Fd
)
// Checks for available features.

View File

@@ -33,7 +33,7 @@ The check command reports on which binaries are available and which are not.`,
}
// Check fd
if features&app.Fd == 1 {
if features&app.Fd == app.Fd {
table.Append([]string{"fd", "✓ Available"})
} else {
table.Append([]string{"fd", "✗ Missing"})