We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d23e8c0 commit f04088eCopy full SHA for f04088e
main.sh
@@ -44,7 +44,7 @@ if [ "$DEBUG" = "true" ]; then
44
echo "Found YAMLs: $CONNECTORS"
45
fi
46
47
-if [ $(echo -n "$CONNECTORS" | wc -l) -eq 0 ]; then
+if [ $(echo "$CONNECTORS" | grep -v ^$ | wc -l) -eq 0 ]; then
48
handle_warning "$WARNING_NO_CONNECTORS" "WARNING: No connectors found"
49
exit
50
@@ -172,4 +172,4 @@ find pinouts/ -type f -name 'index.html' -print0 | while IFS= read -r -d '' f; d
172
173
done
174
175
-echo "Completed processing $(echo "$CONNECTORS" | wc -l) mappings"
+echo "Completed processing $(echo "$CONNECTORS" | grep -v ^$ | wc -l) mappings"
0 commit comments