Skip to content

Commit

Permalink
Making it consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
darpanLalwani committed Sep 23, 2024
1 parent 1bed4ba commit b7168ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup-env/src/actionInput/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const core = require('@actions/core');
const axios = require('axios');
const github = require('@actions/github');
const InputValidator = require('./inputValidator');
const constants = require('../../config/constants');
const { BROWSERSTACK_TEMPLATE } = require("../../config/constants");
Expand Down Expand Up @@ -37,7 +36,7 @@ class ActionInput {
this.githubApp = core.getInput(INPUT.GITHUB_APP);
this.rerunAttempt = process?.env?.GITHUB_RUN_ATTEMPT;
this.runId = process?.env?.GITHUB_RUN_ID;
this.repository = `${github?.context?.repo?.owner}/${github?.context?.repo?.repo}`;
this.repository = process?.env?.GITHUB_REPOSITORY;;

Check failure on line 39 in setup-env/src/actionInput/index.js

View workflow job for this annotation

GitHub Actions / unit-tests (ubuntu-latest)

Missing whitespace after semicolon

Check failure on line 39 in setup-env/src/actionInput/index.js

View workflow job for this annotation

GitHub Actions / unit-tests (ubuntu-latest)

Unnecessary semicolon

Check failure on line 39 in setup-env/src/actionInput/index.js

View workflow job for this annotation

GitHub Actions / unit-tests (macos-latest)

Missing whitespace after semicolon

Check failure on line 39 in setup-env/src/actionInput/index.js

View workflow job for this annotation

GitHub Actions / unit-tests (macos-latest)

Unnecessary semicolon
} catch (e) {
throw Error(`Action input failed for reason: ${e.message}`);
}
Expand Down

0 comments on commit b7168ad

Please sign in to comment.