Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "cmd-dd", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "shortcut for docs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -65,7 +65,11 @@ // 带feature|bugfix 的若失败则新建到远端。普通缩写则从缓存智能识别 | ||
} else { | ||
gco(branch).catch(() => { | ||
// 未匹配,则输出所有可选 | ||
console.log("未匹配"); | ||
showBranches(); | ||
}); | ||
gco(branch) | ||
.then(() => { | ||
updateCache(branch); | ||
}) | ||
.catch(() => { | ||
// 未匹配,则输出所有可选 | ||
console.log("未匹配"); | ||
showBranches(); | ||
}); | ||
} | ||
@@ -72,0 +76,0 @@ } |
19019
572