From 5800d750eb010a6800cf69799d6fbd298bc55b01 Mon Sep 17 00:00:00 2001 From: Marwan Hawari Date: Mon, 20 Jan 2025 22:50:25 -0500 Subject: [PATCH] cleanup --- README.md | 2 -- cmd/upgrade.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 582a296..89af38b 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,6 @@ stew config # Automatically updates the stew.config.json ``` # Configuration - `stew` can be configured with a `stew.config.json` file. The location of this file will also depend on your OS: |Linux/macOS | Windows | | ------------ | ---------- | @@ -181,7 +180,6 @@ There are multiple ways to configure these: Make sure that the installation path is in your `PATH` environment variable. Otherwise, you won't be able to use any of the binaries installed by `stew`. - # FAQ ### Why couldn't `stew` automatically find any binaries for X repo? The repo probably uses an unconventional naming scheme for their binaries. You can always manually select the release asset. diff --git a/cmd/upgrade.go b/cmd/upgrade.go index 3ddd3ca..a127c6e 100644 --- a/cmd/upgrade.go +++ b/cmd/upgrade.go @@ -131,7 +131,7 @@ func upgradeOne(binaryName, userOS, userArch string, lockFile stew.LockFile, sys func upgradeAll(userOS, userArch string, lockFile stew.LockFile, systemInfo stew.SystemInfo, stewConfig stew.StewConfig) { for _, pkg := range lockFile.Packages { if _, packageIsExcluded := stew.Contains(stewConfig.ExcludedFromUpgradeAll, pkg.Binary); packageIsExcluded { - fmt.Printf("%v (excluded)\n", constants.YellowColor(pkg.Binary)) + fmt.Printf("%v (Excluded)\n", constants.YellowColor(pkg.Binary)) continue } if err := upgradeOne(pkg.Binary, userOS, userArch, lockFile, systemInfo); err != nil {