mirror of
https://github.com/pnpm/action-setup.git
synced 2026-03-01 07:51:02 +08:00
Remove unnecessary comments
This commit is contained in:
parent
ab72e3e12e
commit
b2ad3f504b
@ -9,11 +9,8 @@ const execAsync = promisify(exec);
|
|||||||
export async function install(inputs: Inputs) {
|
export async function install(inputs: Inputs) {
|
||||||
try {
|
try {
|
||||||
await execAsync("pnpm --version");
|
await execAsync("pnpm --version");
|
||||||
// pnpm already installed
|
|
||||||
return;
|
return;
|
||||||
} catch {
|
} catch {}
|
||||||
// pnpm not installed, continue
|
|
||||||
}
|
|
||||||
|
|
||||||
startGroup("Running self-installer...");
|
startGroup("Running self-installer...");
|
||||||
const status = await runSelfInstaller(inputs);
|
const status = await runSelfInstaller(inputs);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user