From c6c7a9ea9bf109be8baee11c7c319f9f6262fa45 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Sun, 17 Jan 2021 09:28:10 -0300 Subject: [PATCH] Add support for German empty commits (closes #728) --- lib/plugin/git/Git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin/git/Git.js b/lib/plugin/git/Git.js index 39ced517..6f1f90df 100644 --- a/lib/plugin/git/Git.js +++ b/lib/plugin/git/Git.js @@ -162,7 +162,7 @@ class Git extends GitBase { () => this.setContext({ isCommitted: true }), err => { this.debug(err); - if (/nothing (added )?to commit/.test(err)) { + if (/nothing (added )?to commit/.test(err) || /nichts zu committen/.test(err)) { this.log.warn('No changes to commit. The latest commit will be tagged.'); } else { throw new Error(err);