Skip to content

Commit 89686cd

Browse files
Improve logging
1 parent 240f9c4 commit 89686cd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

bin/compile

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,19 @@ readonly CLEANUP_FILE=".slugcleanup"
77

88
cd ${BUILD_DIR}
99

10-
echo "-----> Slug cleanup started"
11-
echo
10+
echo "-----> Cleaning up slug..."
1211

1312
while read location; do
1413
[[ -z "${location}" ]] && continue
1514

1615
location_items=($(echo ${location}))
1716

1817
if [[ -e ${location_items[0]} ]]; then
19-
echo "Removing location ${location} from slug"
18+
echo " Removing location ${location}"
2019
rm -rf ${location}
2120
else
22-
echo "Ignoring not found location ${location}"
21+
echo " Ignoring not found location ${location}"
2322
fi
2423
done <${CLEANUP_FILE}
2524

26-
echo
27-
echo "Slug cleanup finished"
25+
echo " Slug cleanup completed"

0 commit comments

Comments
 (0)