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 2018/09/30 18:49:09 UTC

[cordova-paramedic] 01/02: add missing semicolons

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

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

commit 857c3e964ba9a6dc0f32452c743f143e880f2a0b
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sun Sep 30 20:48:42 2018 +0200

    add missing semicolons
---
 lib/ParamedicConfig.js     | 14 +++++++-------
 lib/appium/AppiumRunner.js |  2 +-
 lib/paramedic.js           |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/ParamedicConfig.js b/lib/ParamedicConfig.js
index cdb955a..ad8d627 100644
--- a/lib/ParamedicConfig.js
+++ b/lib/ParamedicConfig.js
@@ -137,7 +137,7 @@ ParamedicConfig.prototype.getArgs = function () {
 
 ParamedicConfig.prototype.setArgs = function (args) {
     this._config.args = args;
-}
+};
 
 ParamedicConfig.prototype.getPlatformId = function () {
     return this._config.platform.split('@')[0];
@@ -252,7 +252,7 @@ ParamedicConfig.prototype.setSkipAppiumTests = function (skipAppiumTests) {
 
 ParamedicConfig.prototype.isBrowserify = function () {
     return this.getArgs().indexOf(BROWSERIFY_ARG) >= 0;
-}
+};
 
 ParamedicConfig.prototype.setBrowserify = function (browserify) {
     if (browserify) {
@@ -260,7 +260,7 @@ ParamedicConfig.prototype.setBrowserify = function (browserify) {
     } else {
         this._config.args = this._config.args.replace(BROWSERIFY_ARG, '');
     }
-}
+};
 
 ParamedicConfig.prototype.getPorts = function () {
     return {
@@ -307,21 +307,21 @@ ParamedicConfig.prototype.setTarget = function (target) {
 
 ParamedicConfig.prototype.getFileTransferServer = function () {
     return this._config.fileTransferServer;
-}
+};
 
 ParamedicConfig.prototype.setFileTransferServer = function (server) {
     this._config.fileTransferServer = server;
-}
+};
 
 ParamedicConfig.prototype.getCli = function () {
     if (this._config.cli) {
         return this._config.cli;
     }
     return DEFAULT_CLI;
-}
+};
 
 ParamedicConfig.prototype.setCli = function (cli) {
     this._config.cli = cli;
-}
+};
 
 module.exports = ParamedicConfig;
diff --git a/lib/appium/AppiumRunner.js b/lib/appium/AppiumRunner.js
index 4556a2a..e647ee7 100644
--- a/lib/appium/AppiumRunner.js
+++ b/lib/appium/AppiumRunner.js
@@ -82,7 +82,7 @@ function getPackagePath(options) {
             if (fs.existsSync(p)) {
                 packagePath = p;
                 return;
-            };
+            }
         });
         if (packagePath != null) {
             return packagePath;
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 2e6b801..7f518a1 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -664,7 +664,7 @@ ParamedicRunner.prototype.getPackageFolder = function () {
         return foundDir;
     }
     throw new Error ('Couldn\'t locate a built app directory. Looked here: ' + packageDirs);
-}
+};
 
 ParamedicRunner.prototype.getPackageFolders = function () {
     var packageFolders;
@@ -886,7 +886,7 @@ ParamedicRunner.prototype.connectSauceConnect = function () {
     }
 
     return Q.Promise(function (resolve, reject) {
-        logger.info('cordova-paramedic: Starting Sauce Connect...')
+        logger.info('cordova-paramedic: Starting Sauce Connect...');
         sauceConnectLauncher({
             username: self.config.getSauceUser(),
             accessKey: self.config.getSauceKey(),


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