Skip to content

Commit

Permalink
Add support for German empty commits (closes #728)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 17, 2021
1 parent e56f378 commit c6c7a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin/git/Git.js
Expand Up @@ -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);
Expand Down

0 comments on commit c6c7a9e

Please sign in to comment.