You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/05/03 18:01:47 UTC

[cordova-test-platform] branch janpio-platformrequirements_fixes updated: code formatting

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-platformrequirements_fixes
in repository https://gitbox.apache.org/repos/asf/cordova-test-platform.git


The following commit(s) were added to refs/heads/janpio-platformrequirements_fixes by this push:
     new 5eb8ed6  code formatting
5eb8ed6 is described below

commit 5eb8ed6148025a9003c8c64a2dd1c481e814efc4
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri May 3 20:01:32 2019 +0200

    code formatting
---
 src/cordova/Api.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cordova/Api.js b/src/cordova/Api.js
index da2a97e..9c9aecf 100644
--- a/src/cordova/Api.js
+++ b/src/cordova/Api.js
@@ -66,10 +66,10 @@ Api.createPlatform = function (destination, config, options, externalEvents) {
     shell.mkdir('-p', destination);
 
     // move a copy of our api to the new project
-    shell.cp('-r',apiSrcPath, destination);
+    shell.cp('-r', apiSrcPath, destination);
 
     // I promise I will return
-    return Promise.resolve(new Api(PLATFORM_NAME,destination,events));
+    return Promise.resolve(new Api(PLATFORM_NAME, destination, events));
 
 };
 
@@ -85,7 +85,7 @@ Api.prototype.getPlatformInfo = function () {
     // return PlatformInfo object
 
     return {
-        "locations":this.locations,
+        "locations": this.locations,
         "root": this.root,
         "name": this.platform,
         "version": { "version" : "1.0.0" },


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