Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-coho/pull/78#discussion_r30698749
  
    --- Diff: src/gitutil.js ---
    @@ -43,12 +43,14 @@ exports.tagExists = function*(tagName) {
     }
     
     exports.retrieveCurrentBranchName = function*(allowDetached) {
    -    var ref = yield executil.execHelper(executil.ARGS('git symbolic-ref 
HEAD'), true, true);
    -    if (!ref) {
    +    var ref;
    +    try {
    +        ref = yield executil.execHelper(executil.ARGS('git symbolic-ref 
HEAD'), true, true);
    --- End diff --
    
    Fixed this - removed the use of `pretend` as it would not work across 
control flow anyway.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to