mirror of
https://github.com/ericchiang/pup
synced 2025-01-14 17:50:59 +00:00
Update deprecated hardware check
``` Warning: Calling Hardware.is_64_bit? is deprecated! Use Hardware::CPU.is_64_bit? instead. /Users/pair/Library/Caches/Homebrew/Formula/pup.rb:7:in `<class:Pup>' ```
This commit is contained in:
parent
f7c5cd0fa4
commit
696d9e8818
@ -50,7 +50,7 @@ class Pup < Formula
|
||||
homepage 'https://github.com/ericchiang/pup'
|
||||
version '0.4.0'
|
||||
|
||||
if Hardware.is_64_bit?
|
||||
if Hardware::CPU.is_64_bit?
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v${VERSION}/${DARWIN_AMD64}'
|
||||
sha256 '$( sha256sum dist/${DARWIN_AMD64} | awk '{ print $1 }' | xargs printf )'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user