cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [cordova-android] branch 7.0.x updated: CB-13621: eslint error
Date Thu, 30 Nov 2017 19:09:06 GMT
This is an automated email from the ASF dual-hosted git repository.

bowserj pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 4b06eec  CB-13621: eslint error
4b06eec is described below

commit 4b06eecf3eb4aba4add5731e2f36d69199ba3136
Author: Joe Bowser <bowserj@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" <commits@cordova.apache.org>'].

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message