You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2020/08/28 18:22:22 UTC
[cordova-paramedic] branch feat/ios-nightly updated: fix: lint
This is an automated email from the ASF dual-hosted git repository.
timbru31 pushed a commit to branch feat/ios-nightly
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
The following commit(s) were added to refs/heads/feat/ios-nightly by this push:
new 0ecf693 fix: lint
0ecf693 is described below
commit 0ecf693168f33357da0b8e04f2b69a197c1f8382
Author: Tim Brust <gi...@timbrust.de>
AuthorDate: Fri Aug 28 20:22:09 2020 +0200
fix: lint
---
lib/ParamedicSauceLabs.js | 54 +++++++++++++++++++++++------------------------
lib/paramedic.js | 2 +-
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/lib/ParamedicSauceLabs.js b/lib/ParamedicSauceLabs.js
index 50a20da..276daec 100644
--- a/lib/ParamedicSauceLabs.js
+++ b/lib/ParamedicSauceLabs.js
@@ -235,40 +235,40 @@ class ParamedicSauceLabs {
return sauce.listJobs().then(jobs => {
let found = false;
for (let job in jobs) {
- if (
- jobs.hasOwnProperty(job) &&
+ if (
+ jobs.hasOwnProperty(job) &&
jobs[job].name &&
jobs[job].name.indexOf(buildName) === 0
- ) {
- const jobUrl = "https://saucelabs.com/beta/tests/" + jobs[job].id;
- logger.normal(
- "============================================================================================"
- );
- logger.normal("Job name: " + jobs[job].name);
- logger.normal("Job ID: " + jobs[job].id);
- logger.normal("Job URL: " + jobUrl);
- logger.normal("Video: " + jobs[job].video_url);
- logger.normal("Appium logs: " + jobs[job].log_url);
- if (this.isAndroid) {
- logger.normal(
- "Logcat logs: " +
- "https://saucelabs.com/jobs/" +
+ ) {
+ const jobUrl = 'https://saucelabs.com/beta/tests/' + jobs[job].id;
+ logger.normal(
+ '============================================================================================'
+ );
+ logger.normal('Job name: ' + jobs[job].name);
+ logger.normal('Job ID: ' + jobs[job].id);
+ logger.normal('Job URL: ' + jobUrl);
+ logger.normal('Video: ' + jobs[job].video_url);
+ logger.normal('Appium logs: ' + jobs[job].log_url);
+ if (this.isAndroid) {
+ logger.normal(
+ 'Logcat logs: ' +
+ 'https://saucelabs.com/jobs/' +
jobs[job].id +
- "/logcat.log"
- );
+ '/logcat.log'
+ );
+ }
+ logger.normal(
+ '============================================================================================'
+ );
+ logger.normal('');
+ found = true;
}
- logger.normal(
- "============================================================================================"
- );
- logger.normal("");
- found = true;
- }
}
if (!found) {
- logger.warn(
- "Can not find saucelabs job. Logs and video will be unavailable."
- );
+ logger.warn(
+ 'Can not find saucelabs job. Logs and video will be unavailable.'
+ );
}
}).catch(err => console.log(err));
}
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 0df84a7..a53f42d 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -417,7 +417,7 @@ class ParamedicRunner {
.concat([this.config.getArgs()]);
if (this.isBrowser) {
- console.log(cmd.join(' '))
+ console.log(cmd.join(' '));
return Q(cmd.join(' '));
} else if (this.config.getAction() === 'build' || (this.isWindows && this.config.getArgs().indexOf('appx=8.1-phone') < 0)) {
// The app is to be run as a store app or just build. So no need to choose a target.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org