Github user mmocny commented on commit fcf37d03d12301d26cb4bcbb0107b085325f40d6:

    
https://github.com/apache/cordova-lib/commit/fcf37d03d12301d26cb4bcbb0107b085325f40d6#commitcomment-9664080
  
    In cordova-lib/src/plugman/createpackagejson.js:
    In cordova-lib/src/plugman/createpackagejson.js on line 46:
    Aside: There are a lot of "if (err) throw err;" statements in node callback 
code.  I've been using Q for a long time and have grown quite fond of 
Q.nfcall(...).done() where it does this behaviour automatically for me.
    
    Just pondering out loud as Promises become available to js by default (as 
is the case in io.js already)..


---
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