You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2017/11/30 19:09:17 UTC
[cordova-android] branch master updated: CB-13621: eslint error
This is an automated email from the ASF dual-hosted git repository.
bowserj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git
The following commit(s) were added to refs/heads/master by this push:
new d8d92ca CB-13621: eslint error
d8d92ca is described below
commit d8d92cae61ca6049f8590adced3f4dfce3892a94
Author: Joe Bowser <bo...@apache.org>
AuthorDate: Thu Nov 30 11:08:39 2017 -0800
CB-13621: eslint error
---
bin/lib/create.js | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 7e39f87..83ab5fb 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -26,10 +26,7 @@ var fs = require('fs');
var check_reqs = require('./../templates/cordova/lib/check_reqs');
var ROOT = path.join(__dirname, '..', '..');
-var MIN_SDK_VERSION = 19;
-
var CordovaError = require('cordova-common').CordovaError;
-var AndroidStudio = require('../templates/cordova/lib/AndroidStudio');
var AndroidManifest = require('../templates/cordova/lib/AndroidManifest');
// Export all helper functions, and make sure internally within this module, we
@@ -349,15 +346,15 @@ function generateDoneMessage (type, link) {
// Returns a promise.
exports.update = function (projectPath, options, events) {
- var errorString =
- 'An in-place platform update is not supported. \n' +
- 'The `platforms` folder is always treated as a build artifact in the CLI workflow.\n' +
- 'To update your platform, you have to remove, then add your android platform again.\n' +
- 'Make sure you save your plugins beforehand using `cordova plugin save`, and save \n' + 'a copy of the platform first if you had manual changes in it.\n' +
- '\tcordova plugin save\n' +
- '\tcordova platform rm android\n' +
- '\tcordova platform add android\n'
- ;
+ var errorString =
+ 'An in-place platform update is not supported. \n' +
+ 'The `platforms` folder is always treated as a build artifact in the CLI workflow.\n' +
+ 'To update your platform, you have to remove, then add your android platform again.\n' +
+ 'Make sure you save your plugins beforehand using `cordova plugin save`, and save \n' + 'a copy of the platform first if you had manual changes in it.\n' +
+ '\tcordova plugin save\n' +
+ '\tcordova platform rm android\n' +
+ '\tcordova platform add android\n'
+ ;
return Q.reject(errorString);
};
--
To stop receiving notification emails like this one, please contact
['"commits@cordova.apache.org" <co...@cordova.apache.org>'].
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org