summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpearup3
1 files changed, 2 insertions, 1 deletions
diff --git a/pearup b/pearup
index 43e0f5d..bfde88f 100755
--- a/pearup
+++ b/pearup
@@ -37,5 +37,6 @@ if [ -n "$comp" ]; then
fi
colordiff -u package-$1.xml package-$2.xml
-colordiff -u composer-$1.json composer-$2.json
+[ -f composer-$1.json -a -f composer-$2.json ] && \
+ colordiff -u composer-$1.json composer-$2.json