• Simon Vocella's avatar
    Use offline cached version with yarn when it's possible (#1423) · bf948bf2
    Simon Vocella authored
    * add --offline flag when we are using yarn and we are offline
    
    * Revert changes to init script
    
    We only run these commands for backward compat mode, in which we wouldn't receive the offline flag anyway
    
    * Don't pass isOnline to init script because it doesn't need it
    
    * Don't ping the Yarn registry if user doesn't have Yarn
    
    * Remove unused/wrong arguments
    
    * Move logs to error handler
    
    * Fix error handling
    
    * Report to the user that they're offline
    bf948bf2