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 1313 pint_install_command=" ${pint_install_command/: PINT_VERSION/ } "
1414fi
1515
16- echo " Running Command: " " ${pint_install_command[@]} "
16+ echo " Running Command: ${pint_install_command[@]} "
1717${pint_install_command[@]}
1818PATH=" /tmp/vendor/bin:${PATH} "
1919
20- # Get version after installation
2120pint_version=$( pint --version | grep -oE ' [0-9]+\.[0-9]+(\.[0-9]+)?' | head -1)
2221version_check=$( printf ' %s\n1.23' " $pint_version " | sort -V | head -1)
2322
24- # Build command with consistent array syntax
2523pint_command=(" pint" )
2624if [[ " ${INPUT_TESTMODE} " == true ]]; then
2725 pint_command+=(" --test" )
@@ -32,11 +30,11 @@ if [[ "${INPUT_VERBOSEMODE}" == true ]]; then
3230fi
3331
3432if [[ " ${INPUT_CONFIGPATH} " ]]; then
35- pint_command+=(" --config" " ${INPUT_CONFIGPATH} " )
33+ pint_command+=(" --config ${INPUT_CONFIGPATH} " )
3634fi
3735
3836if [[ " ${INPUT_PRESET} " ]]; then
39- pint_command+=(" --preset" " ${INPUT_PRESET} " )
37+ pint_command+=(" --preset ${INPUT_PRESET} " )
4038fi
4139
4240if [[ " ${INPUT_ONLYDIFF} " ]]; then
@@ -56,6 +54,6 @@ if [[ "${INPUT_PARALLEL}" == true ]]; then
5654 fi
5755fi
5856
59- echo " Running Command: " " ${pint_command[@]} "
57+ echo " Running Command: ${pint_command[@]} "
6058
6159" ${pint_command[@]} "
You can’t perform that action at this time.
0 commit comments