mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
CB-7330 Fix dangling function call in last commit (broke gradle builds)
This commit is contained in:
parent
dfa66b9dd4
commit
58cdfd86d0
2
bin/templates/cordova/lib/build.js
vendored
2
bin/templates/cordova/lib/build.js
vendored
@ -204,7 +204,6 @@ var builders = {
|
|||||||
var builder = this;
|
var builder = this;
|
||||||
var wrapper = path.join(ROOT, 'gradlew');
|
var wrapper = path.join(ROOT, 'gradlew');
|
||||||
var args = builder.getArgs('build');
|
var args = builder.getArgs('build');
|
||||||
copyGradleWrapper();
|
|
||||||
return Q().then(function() {
|
return Q().then(function() {
|
||||||
return spawn(wrapper, args);
|
return spawn(wrapper, args);
|
||||||
}).then(function() {
|
}).then(function() {
|
||||||
@ -216,7 +215,6 @@ var builders = {
|
|||||||
var builder = this;
|
var builder = this;
|
||||||
var wrapper = path.join(ROOT, 'gradlew');
|
var wrapper = path.join(ROOT, 'gradlew');
|
||||||
var args = builder.getArgs('clean');
|
var args = builder.getArgs('clean');
|
||||||
copyGradleWrapper();
|
|
||||||
return Q().then(function() {
|
return Q().then(function() {
|
||||||
return spawn(wrapper, args);
|
return spawn(wrapper, args);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user