File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 13
13
pint_install_command=" ${pint_install_command/: PINT_VERSION/ } "
14
14
fi
15
15
16
- echo " Running Command: " " ${pint_install_command[@]} "
16
+ echo " Running Command: ${pint_install_command[@]} "
17
17
${pint_install_command[@]}
18
18
PATH=" /tmp/vendor/bin:${PATH} "
19
19
20
- # Get version after installation
21
20
pint_version=$( pint --version | grep -oE ' [0-9]+\.[0-9]+(\.[0-9]+)?' | head -1)
22
21
version_check=$( printf ' %s\n1.23' " $pint_version " | sort -V | head -1)
23
22
24
- # Build command with consistent array syntax
25
23
pint_command=(" pint" )
26
24
if [[ " ${INPUT_TESTMODE} " == true ]]; then
27
25
pint_command+=(" --test" )
@@ -32,11 +30,11 @@ if [[ "${INPUT_VERBOSEMODE}" == true ]]; then
32
30
fi
33
31
34
32
if [[ " ${INPUT_CONFIGPATH} " ]]; then
35
- pint_command+=(" --config" " ${INPUT_CONFIGPATH} " )
33
+ pint_command+=(" --config ${INPUT_CONFIGPATH} " )
36
34
fi
37
35
38
36
if [[ " ${INPUT_PRESET} " ]]; then
39
- pint_command+=(" --preset" " ${INPUT_PRESET} " )
37
+ pint_command+=(" --preset ${INPUT_PRESET} " )
40
38
fi
41
39
42
40
if [[ " ${INPUT_ONLYDIFF} " ]]; then
@@ -56,6 +54,6 @@ if [[ "${INPUT_PARALLEL}" == true ]]; then
56
54
fi
57
55
fi
58
56
59
- echo " Running Command: " " ${pint_command[@]} "
57
+ echo " Running Command: ${pint_command[@]} "
60
58
61
59
" ${pint_command[@]} "
You can’t perform that action at this time.
0 commit comments