We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a3e66 commit 96240c8Copy full SHA for 96240c8
libexec/resolve.ts
@@ -24,6 +24,8 @@ if (!flags.cellar) {
24
const pkg = await usePantry().resolve(parse(pkgname))
25
console.log(str(pkg))
26
} else {
27
- const { pkg } = await useCellar().has(parse(pkgname)) ?? panic()
28
- console.log(str(pkg))
+ const entry = await useCellar().has(parse(pkgname))
+ if (!entry) {
29
+ throw new Error(`${pkgname} not installed in $TEA_PREFIX`)
30
+ }
31
}
0 commit comments