From 723c171417f97af9b3990170766b1decbe2ab431 Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Fri, 26 Jan 2024 10:00:18 -0800 Subject: [PATCH] fixed type error in aicommits --- .github/workflows/test.yml | 3 --- src/commands/aicommits.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef76c610..ac1f07d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,9 +33,6 @@ jobs: - name: Type check run: pnpm type-check - - name: Lint - run: pnpm lint - - name: Build run: pnpm build diff --git a/src/commands/aicommits.ts b/src/commands/aicommits.ts index 9b3bfc99..e76739cb 100644 --- a/src/commands/aicommits.ts +++ b/src/commands/aicommits.ts @@ -105,7 +105,7 @@ export default async ( return; } - message = selected; + message = selected as string; } await execa('git', ['commit', '-m', message, ...rawArgv]);