mirror of
https://github.com/sbrow/envr.git
synced 2025-12-29 23:47:39 -05:00
fix(check): fd now correctly gets marked as found.
This commit is contained in:
@@ -13,7 +13,7 @@ const (
|
|||||||
// fd
|
// fd
|
||||||
Fd AvailableFeatures = 2
|
Fd AvailableFeatures = 2
|
||||||
// All features are present
|
// All features are present
|
||||||
All AvailableFeatures = Git & Fd
|
All AvailableFeatures = Git | Fd
|
||||||
)
|
)
|
||||||
|
|
||||||
// Checks for available features.
|
// Checks for available features.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ The check command reports on which binaries are available and which are not.`,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check fd
|
// Check fd
|
||||||
if features&app.Fd == 1 {
|
if features&app.Fd == app.Fd {
|
||||||
table.Append([]string{"fd", "✓ Available"})
|
table.Append([]string{"fd", "✓ Available"})
|
||||||
} else {
|
} else {
|
||||||
table.Append([]string{"fd", "✗ Missing"})
|
table.Append([]string{"fd", "✗ Missing"})
|
||||||
|
|||||||
Reference in New Issue
Block a user