mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Appropriately print no package error when crew is passed a non-existing package (#6332)
* move no package error in crew * bump version
This commit is contained in:
2
bin/crew
2
bin/crew
@@ -278,9 +278,9 @@ def search (pkgName, silent = false)
|
||||
end
|
||||
unless File.exist?(pkgPath) && silent
|
||||
@pkg = nil
|
||||
abort "Package #{pkgName} not found. 😞".lightred unless silent
|
||||
return
|
||||
end
|
||||
abort "Package #{pkgName} not found. :(".lightred unless silent
|
||||
end
|
||||
|
||||
def regexp_search(pkgPat)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.17.5'
|
||||
CREW_VERSION = '1.17.6'
|
||||
|
||||
ARCH_ACTUAL = `uname -m`.chomp
|
||||
# This helps with virtualized builds on aarch64 machines
|
||||
|
||||
Reference in New Issue
Block a user