Comparing version 0.4.0 to 0.4.1
@@ -59,3 +59,3 @@ var defaultRef = 'refs/heads/master' | ||
} | ||
items.push(maxRef) | ||
if (maxRef) items.push(maxRef) | ||
obj.author = author | ||
@@ -65,3 +65,3 @@ obj.sequence = maxSeq | ||
if (items.length === 1) { | ||
if (items.length <= 1) { | ||
appendRef(key, items[0]) | ||
@@ -68,0 +68,0 @@ } else { |
{ | ||
"name": "ssb-git", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "logic for working with git-ssb repos", | ||
@@ -5,0 +5,0 @@ "author": "Charles Lehner (http://celehner.com/)", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26147
5
0