mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-08 15:13:46 +08:00
Remove unnecessary comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user