Skip to content

Commit

Permalink
fix not adding YAML-FM deps to script envs
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Nov 18, 2022
1 parent 07dd6d7 commit 2705fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All you need is `tea`.
 


# tea/cli 0.13.3
# tea/cli 0.13.4

Open source is a treasure trove—yet those chests are sealed with gnarly locks.
tea is the key:
Expand Down
2 changes: 1 addition & 1 deletion src/app.exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function exec(ass: RV1, pkgs: PackageSpecification[], opts: {env: boolean}
const blueprint = opts.env ? await useVirtualEnv({ cwd: ass.path.parent() }) : undefined
const yaml = await usePackageYAMLFrontMatter(ass.path, blueprint?.srcroot)
const cmd = [...yaml?.args ?? [], ass.path, ...ass.args]
const pkgs: PackageRequirement[] = blueprint?.pkgs ?? []
const pkgs: PackageRequirement[] = [...blueprint?.pkgs ?? [], ...yaml?.pkgs ?? []]

if (magic) {
const unshift = (project: string, ...new_args: string[]) => {
Expand Down

0 comments on commit 2705fd2

Please sign in to comment.