@testomatio/reporter 0.8.0-beta.6 → 0.8.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,10 +14,10 @@ class GitHubPipe {
14
14
  this.tests = []
15
15
  this.token = params.GH_PAT || process.env.GH_PAT;
16
16
  this.ref = process.env.GITHUB_REF
17
- this.repo = process.env.GITHUB_ACTION_REPOSITORY
17
+ this.repo = process.env.GITHUB_REPOSITORY
18
18
 
19
19
  if (process.env.DEBUG) {
20
- console.log('GitHub Pipe: ', this.token ? 'TOKEN' : '*no token*', this.ref, this.repo);
20
+ console.log(APP_PREFIX, 'GitHub Pipe: ', this.token ? 'TOKEN' : '*no token*', this.ref, this.repo);
21
21
  }
22
22
 
23
23
  if (!this.token || !this.ref || !this.repo) return;
@@ -26,7 +26,7 @@ class GitHubPipe {
26
26
  this.start = new Date();
27
27
 
28
28
  if (process.env.DEBUG) {
29
- console.log('GitHub Pipe: Enabled');
29
+ console.log(APP_PREFIX, 'GitHub Pipe: Enabled');
30
30
  }
31
31
  }
32
32
 
@@ -16,13 +16,13 @@ class TestomatioPipe {
16
16
  this.url = params.testomatioUrl || process.env.TESTOMATIO_URL || 'https://app.testomat.io';
17
17
  this.apiKey = params.apiKey || process.env.TESTOMATIO;
18
18
  if (process.env.DEBUG) {
19
- console.log('Testomatio Pipe: ', this.apiKey ? 'API KEY' : '*no api key*');
19
+ console.log(APP_PREFIX, 'Testomatio Pipe: ', this.apiKey ? 'API KEY' : '*no api key*');
20
20
  }
21
21
  if (!this.apiKey) {
22
22
  return;
23
23
  }
24
24
  if (process.env.DEBUG) {
25
- console.log('Testomatio Pipe: Enabled');
25
+ console.log(APP_PREFIX, 'Testomatio Pipe: Enabled');
26
26
  }
27
27
  this.store = store;
28
28
  this.title = params.title || process.env.TESTOMATIO_TITLE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.8.0-beta.6",
3
+ "version": "0.8.0-beta.7",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",