Skip to content

Commit

Permalink
Merge pull request #1846 from dgageot/fix-find-warning
Browse files Browse the repository at this point in the history
Fix warning with `find` on TravisCI
  • Loading branch information
dgageot authored Mar 20, 2019
2 parents f80bf5d + 063c9df commit b7349dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/check-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

set -e -o pipefail

EXAMPLES=$(find examples -type d -mindepth 1 -maxdepth 1 -not -empty -exec basename {} \; | sort)
INTEGRATION_EXAMPLES=$(find integration/examples -type d -mindepth 1 -maxdepth 1 -not -empty -exec basename {} \; | sort)
EXAMPLES=$(find examples -mindepth 1 -maxdepth 1 -type d -not -empty -exec basename {} \; | sort)
INTEGRATION_EXAMPLES=$(find integration/examples -mindepth 1 -maxdepth 1 -type d -not -empty -exec basename {} \; | sort)

if [[ "${EXAMPLES}" != "${INTEGRATION_EXAMPLES}" ]]; then
echo "Every code sample that is in ./examples should also be in ./integration/examples"
Expand Down

0 comments on commit b7349dc

Please sign in to comment.