kevincobain2000 / gobrew

Go version manager, written in Go. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
https://medium.com/web-developer/go-version-manager-gobrew-c8750157dfe6
MIT License
364 stars 24 forks source link

Sometimes dir exists, which ends up showing that the version that doesn't exist #100

Closed kevincobain2000 closed 1 year ago

kevincobain2000 commented 1 year ago
Sometimes dir exists, which ends up showing that the version is installed.
However version checker checks for real binary instead of the existance of the dir.
Removing extra condition to fix prune and rm issues.
codecov-commenter commented 1 year ago

Codecov Report

Merging #100 (2f1d5f5) into master (f39ad94) will increase coverage by 0.32%. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   52.55%   52.88%   +0.32%     
==========================================
  Files           1        1              
  Lines         489      486       -3     
==========================================
  Hits          257      257              
+ Misses        195      193       -2     
+ Partials       37       36       -1     
Impacted Files Coverage Δ
gobrew.go 52.88% <ø> (+0.32%) :arrow_up: