diff --git a/source/git-util.js b/source/git-util.js index 768f7e22..08cad653 100644 --- a/source/git-util.js +++ b/source/git-util.js @@ -34,7 +34,7 @@ exports.tagBeforeCurrentOrFirstCommit = async () => { const tags = stdout.split('\n'); if (tags.length === 0) { - return null; + return; } if (tags.length === 1) {