diff --git a/contrib/homebrew/scw.rb b/contrib/homebrew/scw.rb index 8cfea74037..fbcd7ec85b 100644 --- a/contrib/homebrew/scw.rb +++ b/contrib/homebrew/scw.rb @@ -20,7 +20,7 @@ def install system "go", "build", "-o", "#{bin}/scw", "-v", "-ldflags", "-X github.com/scaleway/scaleway-cli/pkg/scwversion.GITCOMMIT=homebrew", "github.com/scaleway/scaleway-cli/cmd/scw/" # we remove our .scw-cache.db file, to clean the cache of scw # this file is created and handled by scw - system "rm", "-f", "~/.scw-cache.db" + rm_f "~/.scw-cache.db" bash_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/bash/scw" zsh_completion.install "src/github.com/scaleway/scaleway-cli/contrib/completion/zsh/_scw"