From 0d78ddc48817e752c991eb8a8b1153ab34a45afc Mon Sep 17 00:00:00 2001 From: Alex Van Camp Date: Tue, 20 Jun 2023 17:54:26 -0500 Subject: [PATCH] chore: lint --- src/commands/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/install.ts b/src/commands/install.ts index 775e871..0185789 100644 --- a/src/commands/install.ts +++ b/src/commands/install.ts @@ -108,7 +108,7 @@ function action(repo: string, options: { dev: boolean }) { stdio: ['pipe', 'pipe', 'pipe'], }); process.stdout.write(chalk.green('done!') + os.EOL); - } catch (_e) { + } catch (_) { try { // Next try prepending `v` to the target, which may have been stripped by `semver.coerce`. execSync(`git checkout v${target}`, {