1
0
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:
Alexander Hornung 2026-02-05 13:09:28 +11:00
parent ab72e3e12e
commit b2ad3f504b

View File

@ -9,11 +9,8 @@ const execAsync = promisify(exec);
export async function install(inputs: Inputs) {
try {
await execAsync("pnpm --version");
// pnpm already installed
return;
} catch {
// pnpm not installed, continue
}
} catch {}
startGroup("Running self-installer...");
const status = await runSelfInstaller(inputs);