From 2dae6045b06257cffd03d9df7b7db0916087e0de Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Mon, 30 Sep 2024 18:12:23 -0300 Subject: [PATCH] git: run commit with --no-verify --- generators/git/generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/git/generator.ts b/generators/git/generator.ts index 274c36a28a59..82501db5fff3 100644 --- a/generators/git/generator.ts +++ b/generators/git/generator.ts @@ -144,7 +144,7 @@ export default class GitGenerator extends BaseGenerator { const bpInfo = this.jhipsterConfig.blueprints.map(bp => `${bp.name}@${bp.version}`).join(', '); commitMsg += ` with blueprints ${bpInfo}`; } - await git.add(['.']).commit(commitMsg, { '--allow-empty': null }); + await git.add(['.']).commit(commitMsg, { '--allow-empty': null, '--no-verify': null }); this.log.ok(`Application successfully committed to Git from ${repositoryRoot}.`); } catch (e) { this.log.warn(