mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Moving the console.log out of run() method
Since cordova-cli calls the check_req library run() method, we do not want to always console.log on success in there (not usually a useful side effect).
This commit is contained in:
@@ -91,8 +91,6 @@ module.exports.check_android = function() {
|
||||
|
||||
// Returns a promise.
|
||||
module.exports.run = function() {
|
||||
return Q.all([this.check_ant(), this.check_java(), this.check_android()]).then(function() {
|
||||
console.log('Looks like your environment fully supports cordova-android development!');
|
||||
});
|
||||
return Q.all([this.check_ant(), this.check_java(), this.check_android()]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user