Skip to content

Commit

Permalink
Remove null
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
Drarig29 and sindresorhus committed Nov 28, 2020
1 parent aabab96 commit d252493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/git-util.js
Expand Up @@ -34,7 +34,7 @@ exports.tagBeforeCurrentOrFirstCommit = async () => {
const tags = stdout.split('\n');

if (tags.length === 0) {
return null;
return;
}

if (tags.length === 1) {
Expand Down

0 comments on commit d252493

Please sign in to comment.