From e89fc967329b7a15785071a082cb201490554884 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Mon, 6 Mar 2023 23:35:39 +0800 Subject: [PATCH] =?UTF-8?q?*=20=F0=9F=8E=A8=20style(githook.ts):=20remove?= =?UTF-8?q?=20unused=20import=20The=20import=20of=20fileURLToPath=20from?= =?UTF-8?q?=20the=20url=20module=20is=20not=20used=20in=20the=20file,=20so?= =?UTF-8?q?=20it=20has=20been=20removed=20to=20improve=20code=20readabilit?= =?UTF-8?q?y=20and=20maintainability.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/githook.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/githook.ts b/src/commands/githook.ts index 0f2fd10..0e85d61 100644 --- a/src/commands/githook.ts +++ b/src/commands/githook.ts @@ -1,6 +1,5 @@ import fs from 'fs/promises'; import path from 'path'; -import { fileURLToPath } from 'url'; import { command } from 'cleye'; import { assertGitRepo } from '../utils/git.js'; import { existsSync } from 'fs';