File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function _getBuildURL(inputs) {
14
14
15
15
function _getBranch ( inputs ) {
16
16
const { args, envs } = inputs
17
- return args . branch || envs . CIRRUS_BRANCH || ''
17
+ return args . branch || envs . CIRRUS_BRANCH
18
18
}
19
19
20
20
function _getJob ( envs ) {
@@ -23,7 +23,7 @@ function _getJob(envs) {
23
23
24
24
function _getPR ( inputs ) {
25
25
const { args, envs } = inputs
26
- return args . pr || envs . CIRRUS_PR || ''
26
+ return args . pr || envs . CIRRUS_PR
27
27
}
28
28
29
29
function _getService ( ) {
@@ -36,12 +36,12 @@ function getServiceName() {
36
36
37
37
function _getSHA ( inputs ) {
38
38
const { args, envs } = inputs
39
- return args . sha || envs . CIRRUS_CHANGE_IN_REPO || ''
39
+ return args . sha || envs . CIRRUS_CHANGE_IN_REPO
40
40
}
41
41
42
42
function _getSlug ( inputs ) {
43
43
const { args, envs } = inputs
44
- return args . slug || envs . CIRRUS_REPO_FULL_NAME || ''
44
+ return args . slug || envs . CIRRUS_REPO_FULL_NAME
45
45
}
46
46
47
47
function getServiceParams ( inputs ) {
You can’t perform that action at this time.
0 commit comments