We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9fb4fc commit fe22ad9Copy full SHA for fe22ad9
1 file changed
lib/entrypoint.sh
@@ -106,6 +106,7 @@ guessUrl(){
106
107
echo "${url}"
108
}
109
+
110
runChecks() {
111
local pass=true
112
local url
@@ -120,9 +121,9 @@ runChecks() {
120
121
"$(tput setaf 7)$(tput setab 2)" \
122
"$(tput sgr 0)"
123
- echo "Contents of volume /var/www/www/api/data:"
124
- find /var/www/www/api/data -maxdepth 1 -type d -exec echo -e "\t{}/" \;
125
- find /var/www/www/api/data -maxdepth 1 -type f -exec echo -e "\t{}" \;
+ printf "Contents of volume /var/www/www/api/data:\n%s\n%s\n\n" \
+ "$(find /var/www/www/api/data -maxdepth 1 -type d -exec echo -e "\t{}/" \; | sort)" \
126
+ "$(find /var/www/www/api/data -maxdepth 1 -type f -exec echo -e "\t{}" \; | sort)"
127
128
url="$(guessUrl)"
129
readonly url
0 commit comments