From 8d01829a9bdc26f13b6a2514f9190e9161ebd0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20C=C3=A1ceres=20G=C3=B3mez?= <49571607+alexcgomez@users.noreply.github.com> Date: Thu, 30 Mar 2023 08:41:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(githook.ts):=20remove?= =?UTF-8?q?=20unused=20import=20(#93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The import statement for the fileURLToPath function from the url module is not used in the file. Therefore, it has been removed to improve code readability and maintainability. --- src/commands/githook.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/githook.ts b/src/commands/githook.ts index 59ca614..12a817c 100755 --- a/src/commands/githook.ts +++ b/src/commands/githook.ts @@ -6,7 +6,6 @@ import { existsSync } from 'fs'; import chalk from 'chalk'; import { intro, outro } from '@clack/prompts'; import { COMMANDS } from '../CommandsEnum.js'; -import { fileURLToPath } from 'url'; const HOOK_NAME = 'prepare-commit-msg'; const SYMLINK_URL = `.git/hooks/${HOOK_NAME}`;