feat: sort list of events

This commit is contained in:
Jose Diaz-Gonzalez committed 2018-03-03 17:50:14 -05:00
1 parent 25982e961d
commit 15747612cd
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ events_list_cmd() {
local PLUGIN_DIR="$(dirname "$0")/.." local PLUGIN_DIR="$(dirname "$0")/.."
if [[ "$DOKKU_EVENTS" ]]; then if [[ "$DOKKU_EVENTS" ]]; then
local logged="$(find "$PLUGIN_DIR" -type l -printf '%f ' 2>/dev/null | sort)" local logged="$(find "$PLUGIN_DIR" -type l -printf '%f\n' 2>/dev/null | sort -n)"
dokku_col_log_info2_quiet "Events currently logged" dokku_col_log_info2_quiet "Events currently logged"
local hook local hook