Skip to content

Commit 261300e

Browse files
committed
⬆️ upgrade execa
1 parent 08545ce commit 261300e

File tree

3 files changed

+573
-641
lines changed

3 files changed

+573
-641
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"dependencies": {
5050
"chalk": "^5.4.1",
5151
"conf": "13.1.0",
52-
"execa": "^8.0.1",
52+
"execa": "^9.5.3",
5353
"fuse.js": "7.1.0",
5454
"inquirer": "~9.3.7",
5555
"inquirer-autocomplete-prompt": "^3.0.1",

src/commands/commit/withClient/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execa } from 'execa'
1+
import { execa, ExecaError } from 'execa'
22
import chalk from 'chalk'
33

44
import isHookCreated from '@utils/isHookCreated.js'
@@ -8,7 +8,7 @@ import { type Answers } from '../prompts.js'
88
const withClient = async (answers: Answers): Promise<void> => {
99
try {
1010
const scope = answers.scope ? `(${answers.scope}): ` : ''
11-
const title = `"${answers.gitmoji} ${scope}${answers.title}"`
11+
const title = `${answers.gitmoji} ${scope}${answers.title}`
1212
const isAutoAddEnabled = configurationVault.getAutoAdd()
1313

1414
if (await isHookCreated()) {
@@ -30,7 +30,7 @@ const withClient = async (answers: Answers): Promise<void> => {
3030
'commit',
3131
isAutoAddEnabled ? '-am' : '-m',
3232
title,
33-
...(answers.message ? ['-m', `"${answers.message}"`] : [])
33+
...(answers.message ? ['-m', `${answers.message}`] : [])
3434
],
3535
{
3636
shell: true,

0 commit comments

Comments
 (0)