File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ die() { echo -e "E: ${1}" 1>&2; exit "${2:-1}"; }
32
32
#
33
33
set_status ()
34
34
{
35
- local job_name=${NAME}
35
+ local job_name=" ${NAME} "
36
36
local payload=" "
37
37
38
38
payload=$( <<< "
@@ -41,10 +41,10 @@ set_status()
41
41
'description': '${2}',
42
42
'context': 'travis-ci/${job_name}',
43
43
'target_url': 'https://travis-ci.org/${TRAVIS_REPO_SLUG}/jobs/${TRAVIS_JOB_ID}'
44
- }" tr ' " ' ' "' )
44
+ }" tr " ' " ' "' )
45
45
46
46
curl --silent --output /dev/null --user " ${MBED_BOT} " --request POST \
47
- " https://api.github.com/repos/${TRAVIS_REPO_SLUG} /statuses/${TRAVIS_PULL_REQUEST_SHA:- $TRAVIS_COMMIT } " \
47
+ " https://api.github.com/repos/${TRAVIS_REPO_SLUG} /statuses/${TRAVIS_PULL_REQUEST_SHA:- ${ TRAVIS_COMMIT} } " \
48
48
--data @- <<< " ${payload}"
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments