Skip to content

Commit

Permalink
fix(npm): fixing npm for kit-action
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlindquist committed Sep 13, 2024
1 parent 56db482 commit 867a24b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/target/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ let terminalInstall = async (packageName) => {
global.echo(contents)
}
try {
await global.cli("install", packageName)
args.push(packageName)
await import("../cli/install.js")

global.echo(global.chalk`Installed {red ${packageName}} into ${kenvPath()} and continuing...`)
const files = await global.globby("**/*", {
Expand Down Expand Up @@ -424,7 +425,7 @@ global.revealFile = async () => {
}
)

global.term = async (commandOrConfig) => {
global.term = async (commandOrConfig) => {
let defaultConfig = {
shell: true
}
Expand Down

0 comments on commit 867a24b

Please sign in to comment.