We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac3853 commit 6b593e8Copy full SHA for 6b593e8
scripts/cordova/build.js
@@ -32,11 +32,16 @@ const cordovaBuild = (options) => {
32
process.chdir('./cordova');
33
34
// build with options and distribute to Fabric if specified
35
- return cordova.raw.build(buildOpts).then(function() {
36
- if (distribute) {
37
- fabric.distribute(platforms, target);
+ return cordova.raw.build(buildOpts).then(
+ function() {
+ if (distribute) {
38
+ fabric.distribute(platforms, target);
39
+ }
40
+ },
41
+ function(error) {
42
+ console.log('Build failed:', error);
43
}
- });
44
+ );
45
};
46
47
module.exports = cordovaBuild;
0 commit comments