gtrabanco / dotSloth

Lazy bash for lazy people. Have maintainable dotfiles with .Sloth.
Other
16 stars 1 forks source link

[BUG] up brew #215

Closed gtrabanco closed 11 months ago

gtrabanco commented 2 years ago

About the issue

How to reproduce

up brew

Output


${HOME}/.dotfiles/modules/sloth/scripts/package/src/package_managers/brew.sh: line 75: 67967 Killed: 9               brew upgrade "$outdated_app" 2>&1
     67968                       | log::file "Updating ${brew_title} app: $outdated_app"

Expected

Not to output an error

Workaround

Other

gtrabanco commented 1 year ago

Probably the fix for this issue could be check if $outdated_app has any value.... https://github.com/gtrabanco/dotSloth/blob/961d348011957b339d1b9b49a87b89cb5bcb9606/scripts/package/src/package_managers/brew.sh#L76

gtrabanco commented 11 months ago

I think this is already fixed.