From 5a47d2fb05506fcfed2021f22c8f4c30a1ae8704 Mon Sep 17 00:00:00 2001 From: "Kenneth J. Pronovici" Date: Mon, 25 Mar 2024 18:52:15 +0000 Subject: [PATCH] Improve error-handling for 'run outdated' --- .run/commands/outdated.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.run/commands/outdated.sh b/.run/commands/outdated.sh index 1d3dbc0..df19540 100644 --- a/.run/commands/outdated.sh +++ b/.run/commands/outdated.sh @@ -30,7 +30,7 @@ command_outdated() { MATCHES=$(echo "$OUTDATED" | grep --file=<(echo "$PATTERNS")) if [ $? == 0 ]; then - echo "$MATCHES" | awk '{ printf ( "%-25s %-15s -> %-15s\n", $1, $2, $3 ) }' + echo "$MATCHES" | sed 's/(!)//' | awk '{ printf ( "%-25s %-15s -> %-15s\n", $1, $2, $3 ) }' elif [ $? == 1 ]; then echo "No outdated constraints found" else