Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bcivel committed Jun 2, 2022
1 parent d7c6c9d commit 50bf011
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const author = getInput('author');
const host = getInput('host');
const campaign = getInput('campaign');
const apikey = getInput('apikey');
const country = "-C " + getInput('country');
const environment = "-E " + getInput('environment');
const robot = "-R " + getInput('robot');
const tag = "-T " + getInput('tag');
const country = getInput('country')==="" ? "" : "-C " + getInput('country');
const environment = getInput('environment')==="" ? "" : "-E " + getInput('environment');
const robot = getInput('robot')==="" ? "" : "-R " + getInput('robot');
const tag = getInput('tag')==="" ? "" : "-T " + getInput('tag');

const gitCloneCmd = `git clone https://github.com/cerberustesting/cerberus-github-action.git`;
const chmodCmd = `chmod +x cerberus-github-action/launchTest.sh`;
Expand Down

0 comments on commit 50bf011

Please sign in to comment.