fix(files): Error-out & fail the build when there's no file/directory… (#294)

This commit is contained in:
fiftydinar 2024-07-23 14:14:33 +02:00 committed by GitHub
commit 8e70bb07d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,6 +59,10 @@ if [[ ${#FILES[@]} -gt 0 ]]; then
exit 1
fi
done
else
echo "ERROR: You did not add any file or folder to the module recipe for copying,"
echo " Please assure that you performed this operation correctly"
exit 1
fi
shopt -u dotglob