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:
Satadru Pramanik
2021-10-24 18:23:35 -04:00
committed by GitHub
parent baa31c3ae5
commit b2baa2b4a2
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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