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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to