You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/26 12:56:54 UTC

[GitHub] [cordova-ios] jcesarmobile opened a new pull request #726: fix: make prepare wait for add to finish

jcesarmobile opened a new pull request #726: fix: make prepare wait for add to finish
URL: https://github.com/apache/cordova-ios/pull/726
 
 
   prepare is being run before add command finish because `fs.lstat` is async and the `createProject` is resolving before `fs.lstat` finishes.
   
   This PR changes `fs.lstat` to `fs.lstatSync` to make the directory check sync and avoid to resolve before all create work is done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org