File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,32 +24,32 @@ version_check=$(printf '%s\n1.23' "$pint_version" | sort -V | head -1)
24
24
# Build command with consistent array syntax
25
25
pint_command=(" pint" )
26
26
if [[ " ${INPUT_TESTMODE} " == true ]]; then
27
- pint_command+=(" --test" )
27
+ pint_command+=(" --test" )
28
28
fi
29
29
30
30
if [[ " ${INPUT_VERBOSEMODE} " == true ]]; then
31
- pint_command+=(" -v" )
31
+ pint_command+=(" -v" )
32
32
fi
33
33
34
34
if [[ " ${INPUT_CONFIGPATH} " ]]; then
35
- pint_command+=(" --config" " ${INPUT_CONFIGPATH} " )
35
+ pint_command+=(" --config" " ${INPUT_CONFIGPATH} " )
36
36
fi
37
37
38
38
if [[ " ${INPUT_PRESET} " ]]; then
39
- pint_command+=(" --preset" " ${INPUT_PRESET} " )
39
+ pint_command+=(" --preset" " ${INPUT_PRESET} " )
40
40
fi
41
41
42
42
if [[ " ${INPUT_ONLYDIFF} " ]]; then
43
- pint_command+=(" --diff=${INPUT_ONLYDIFF} " )
43
+ pint_command+=(" --diff=${INPUT_ONLYDIFF} " )
44
44
fi
45
45
46
46
if [[ " ${INPUT_ONLYDIRTY} " == true ]]; then
47
- pint_command+=(" --dirty" )
47
+ pint_command+=(" --dirty" )
48
48
fi
49
49
50
50
if [[ " ${INPUT_PARALLEL} " == true ]]; then
51
51
if [[ " $version_check " == " 1.23" ]]; then
52
- pint_command+=(" --parallel" )
52
+ pint_command+=(" --parallel" )
53
53
echo " Parallel mode enabled (Pint version: $pint_version )"
54
54
else
55
55
echo " Warning: Parallel mode requested but Pint version $pint_version < 1.23. Skipping --parallel flag."
You can’t perform that action at this time.
0 commit comments