From d2524931dabfb4020b9a1b94db99216b7de3ccfb Mon Sep 17 00:00:00 2001 From: Corentin Girard Date: Sat, 28 Nov 2020 22:15:09 +0100 Subject: [PATCH] Remove null Co-authored-by: Sindre Sorhus --- source/git-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {