fix(files): Error-out & fail the build when there's no file/directory… (#294)
This commit is contained in:
commit
8e70bb07d5
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue