Skip to content

Commit 38cfa10

Browse files
refactor(installer): change log output target from tool name to package manager name (#10)
Signed-off-by: Shigure Kurosaki <shigure@hqsy.net>
1 parent d9c37b7 commit 38cfa10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export async function installer(
188188
}
189189

190190
if (tools[name].setup.length !== 0) {
191-
info(`[installer] Setting up the ${name} environment`)
191+
info(`[installer] Setting up the ${tools[name].pm} environment`)
192192

193193
for (const cmd of tools[name].setup) await exec('sh', ['-c', cmd])
194194
}

0 commit comments

Comments
 (0)