Skip to content

Commit 2a5e3a9

Browse files
fix: remove redundant echo for projectName
1 parent cbacbcd commit 2a5e3a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ runs:
126126
fileInfoCollection=$(echo "$projectInfo" | jq -r '.designOptions.fileInfoCollection')
127127
128128
echo "::group::uipcli output for testing project ${projectName}"
129+
129130
if [ "$(echo "$fileInfoCollection" | jq length)" -gt 0 ]; then
130131
publishableTests=$(echo "$fileInfoCollection" | jq '[.[] | select(.editingStatus == "Publishable")] | length')
131132
if [ "$publishableTests" -gt 0 ]; then
@@ -153,7 +154,7 @@ runs:
153154
testResults+="\n- :warning: **${projectName} contains no test cases set as publishable. Testing skipped.**\n"
154155
fi
155156
else
156-
echo "$(echo "${projectName} contains no test cases. Testing skipped."
157+
echo "${projectName} contains no test cases. Testing skipped."
157158
testResults+="\n- :warning: **${projectName} contains no test cases. Testing skipped.**\n"
158159
fi
159160
echo "::endgroup::"

0 commit comments

Comments
 (0)