@lerna/git-utils
Advanced tools
Comparing version 3.0.0-beta.13 to 3.0.0-beta.15
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="3.0.0-beta.15"></a> | ||
# [3.0.0-beta.15](https://github.com/lerna/lerna/compare/v3.0.0-beta.14...v3.0.0-beta.15) (2018-04-09) | ||
### Bug Fixes | ||
* **publish:** Allow tag check to fail with strong warning ([#1355](https://github.com/lerna/lerna/issues/1355)) ([f5268cd](https://github.com/lerna/lerna/commit/f5268cd)) | ||
<a name="3.0.0-beta.13"></a> | ||
@@ -8,0 +20,0 @@ # [3.0.0-beta.13](https://github.com/lerna/lerna/compare/v3.0.0-beta.12...v3.0.0-beta.13) (2018-03-31) |
13
index.js
@@ -73,7 +73,14 @@ "use strict"; | ||
log.silly("hasTags"); | ||
let result = false; | ||
const yes = !!ChildProcessUtilities.execSync("git", ["tag"], opts); | ||
log.verbose("hasTags", yes); | ||
try { | ||
result = !!ChildProcessUtilities.execSync("git", ["tag"], opts); | ||
} catch (err) { | ||
log.warn("ENOTAGS", "No git tags were reachable from this branch!"); | ||
log.verbose("hasTags error", err); | ||
} | ||
return yes; | ||
log.verbose("hasTags", result); | ||
return result; | ||
} | ||
@@ -80,0 +87,0 @@ |
{ | ||
"name": "@lerna/git-utils", | ||
"version": "3.0.0-beta.13", | ||
"version": "3.0.0-beta.15", | ||
"description": "TODO", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4cae54bce76bf156e71a2881418104c442f97c62" | ||
"gitHead": "f7a8e7bc271a5966035a5cbe3bf0eee556c8053a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9116
186