Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
marwanhawari committed Jan 21, 2025
1 parent 1bcaf19 commit 5800d75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ------------ | ---------- |
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5800d75

Please sign in to comment.