kou commented on code in PR #45222:
URL: https://github.com/apache/arrow/pull/45222#discussion_r1912348757


##########
dev/tasks/macros.jinja:
##########
@@ -186,6 +186,12 @@ env:
   - name: Upload wheel to Anaconda scientific-python
     shell: bash
     run: |
+      # check if completion actually expands to wheel files
+      # to prevent empty dirs from failing silently
+      if ! compgen -G "{{ pattern }}" > /dev/null; then
+          echo "No wheel files found!"
+          exit 1

Review Comment:
   Could you use 2-space indent like others?
   
   ```suggestion
           echo "No wheel files found!"
           exit 1
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to