Skip to content

Commit

Permalink
gui needs status on № of pkgs that will install
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Apr 16, 2023
1 parent f7e0374 commit 6cf193c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>


# tea/cli 0.28.0
# tea/cli 0.28.1

`tea` puts the whole open source ecosystem at your fingertips:

Expand Down
4 changes: 4 additions & 0 deletions src/hooks/useExec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ async function install(pkgs: PackageSpecification[], update: boolean) {
const {installed, pending} = await resolve(wet, { update })
logger.clear()

if (json) {
console.error({ status: "resolved", pkgs: pending.map(pkgutils.str) })
}

for (const pkg of pending) {
const install = await base_install(pkg)
await link(install)
Expand Down

0 comments on commit 6cf193c

Please sign in to comment.