pkgx: (bug): cannot run tea with tea

steps to reproduce:

  1. install tea
  2. check tea version (tea 0.25.3) on my machine
  3. run tea "tea^0.21" --version

Expected: outputs “0.21.?”

Actual:

❯ tea "tea^0.21" --version
tea 0.25.3

the same problem happens with shells

❯ tea +"tea.xyz^0.21.2"
PATH=/Users/m0c0j7y/.tea/tea.xyz/v0.25.3/bin:...:
LDFLAGS=-Wl,-rpath,/Users/m0c0j7y/.tea
TEA_PREFIX=/Users/m0c0j7y/.tea

It works with other packages

❯ tea +"nodejs.org^18" node --version
v18.15.0

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (19 by maintainers)

Most upvoted comments

~1.32  # largest 1.32
^1.32  # largest 1
=1.32. # 1.32.0

k, this broke. wtf