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 0d71623 commit d370946Copy full SHA for d370946
deploy.sh
@@ -41,8 +41,8 @@ main() {
41
return 1
42
fi
43
44
- if [[ -z `ls -A "$deploy_directory" 2> /dev/null` && -z $allow_empty ]]; then
45
- echo "Deploy directory '$deploy_directory' is empty. Aborting. If you're sure you want to deploy an empty tree, use the -e flag." >&2
+ if [[ -z `ls --almost-all "$deploy_directory" 2> /dev/null` && -z $allow_empty ]]; then
+ echo "Deploy directory '$deploy_directory' is empty. Aborting. If you're sure you want to deploy an empty tree, use the --allow-empty / -e flag." >&2
46
47
48
0 commit comments