Skip to content

Commit

Permalink
Fix parse_pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Sep 20, 2022
1 parent e21a2cf commit ef316bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vx-tagger.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
release:
types: [published, updated]
types: [published, edited, created, released]
jobs:
tag:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Change how your team works.
 


# tea/cli 0.6.0
# tea/cli 0.6.1

tea is a universal virtual‑environment manager:

Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export function parse_pkg_requirement(input: string): PackageRequirement {
}

export function parse_pkg(input: string): Package {
const splat = input.split(/(@|=)/) //FIXME we do specs with eg. foo^1
const splat = input.split(/[@=]/)
if (splat.length == 2) {
return {
project: splat[0],
Expand Down

0 comments on commit ef316bc

Please sign in to comment.