From 17ce49cd2d33942282c6f54ce819ac25978f6b7c Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Thu, 6 Nov 2025 17:02:42 -0500 Subject: [PATCH] fix(check): `fd` now correctly gets marked as found. --- app/features.go | 2 +- cmd/check.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/features.go b/app/features.go index fc625c1..c510594 100644 --- a/app/features.go +++ b/app/features.go @@ -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. diff --git a/cmd/check.go b/cmd/check.go index 6053d13..a7c9144 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -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"})