mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Try a different thing
This commit is contained in:
@@ -48,11 +48,7 @@ var execFileSyncOrThrow = function (file, args, opts) {
|
||||
var execFileSync = require('./utils.js').execFileSync;
|
||||
if (_.contains([localCordova, localAdb], file) &&
|
||||
_.contains(project.getCordovaPlatforms(), 'android')) {
|
||||
try {
|
||||
ensureAndroidBundle();
|
||||
} catch (err) {
|
||||
process.exit();
|
||||
}
|
||||
ensureAndroidBundle();
|
||||
}
|
||||
|
||||
var process = execFileSync(file, args, opts);
|
||||
@@ -65,7 +61,11 @@ var ensureAndroidBundle = function () {
|
||||
var ensureScriptPath = path.join(files.getCurrentToolsDir(),
|
||||
'scripts', 'ensure_android_bundle.sh');
|
||||
|
||||
execFileSyncOrThrow('bash', [ensureScriptPath], { pipeOutput: true });
|
||||
try {
|
||||
execFileSyncOrThrow('bash', [ensureScriptPath], { pipeOutput: true });
|
||||
} catch (err) {
|
||||
process.exit();
|
||||
}
|
||||
};
|
||||
|
||||
var getLoadedPackages = _.once(function () {
|
||||
|
||||
Reference in New Issue
Block a user