File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -840,10 +840,10 @@ _bma_stack_diff_template() {
840840 if ! aws cloudformation describe-stacks --stack-name " $stack " 1> /dev/null; then
841841 return 1;
842842 fi
843- if command -v icdiff; then
844- local DIFF_CMD=icdiff
845- elif command -v colordiff; then
843+ if command -v colordiff; then
846844 local DIFF_CMD=colordiff
845+ elif command -v icdiff; then
846+ local DIFF_CMD=icdiff
847847 else
848848 local DIFF_CMD=diff
849849 fi
@@ -878,10 +878,10 @@ _bma_stack_diff_params() {
878878 if [ ! -f " $params " ]; then
879879 return 1
880880 fi
881- if command -v icdiff; then
882- local DIFF_CMD=icdiff
883- elif command -v colordiff; then
881+ if command -v colordiff; then
884882 local DIFF_CMD=colordiff
883+ elif command -v icdiff; then
884+ local DIFF_CMD=icdiff
885885 else
886886 local DIFF_CMD=diff
887887 fi
You can’t perform that action at this time.
0 commit comments