Skip to content

Commit cd77553

Browse files
committed
fix bug with accessing tokens
Signed-off-by: Navendu Pottekkat <[email protected]>
1 parent cb0a289 commit cd77553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ main() {
1111

1212
setupArgs=()
1313
if [[ -n "${INPUT_PROVIDER_TOKEN:-}" ]]; then
14-
setupArgs+=(--provider-token ${INPUT_PROVIDER_TOKEN})
14+
setupArgs=(--provider-token ${INPUT_PROVIDER_TOKEN})
1515
fi
1616

1717
if [[ -n "${INPUT_PLATFORM:-}" ]]; then
@@ -26,7 +26,7 @@ main() {
2626
fi
2727

2828
if [[ -n "${INPUT_PATTERN_URL:-}" ]]; then
29-
commandArgs=(--pattern-url ${INPUT_PATTERN_URL})
29+
commandArgs+=(--pattern-url ${INPUT_PATTERN_URL})
3030
fi
3131

3232
bash "$SCRIPT_DIR/mesheryctl.sh" "${commandArgs[@]}"

0 commit comments

Comments
 (0)