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 873645a commit c7e31b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/target/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ let terminalInstall = async (packageName) => {
})
global.echo(files?.length + " files found")
for (let file of files) {
global.echo(file)
global.echo(`before: ${file}`)
let contents = await readFile(kenvPath(file), "utf8")
global.echo(contents)
}
try {
await global.cli("install", packageName)
Expand All @@ -234,7 +236,9 @@ let terminalInstall = async (packageName) => {
})
global.echo(files?.length + " files found")
for (let file of files) {
global.echo(file)
global.echo(`after: ${file}`)
let contents = await readFile(kenvPath(file), "utf8")
global.echo(contents)
}
} catch (error) {
global.echo(global.chalk`{red ${error}}`)
Expand Down

0 comments on commit c7e31b9

Please sign in to comment.