mirror of
https://github.com/sbrow/envr.git
synced 2025-12-29 15:47:38 -05:00
fix(check): fd now correctly gets marked as found.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"})
|
||||
|
||||
Reference in New Issue
Block a user