Skip to content

Commit 3535067

Browse files
committed
fix: launching codeflare -u results in odd guide command executed in the UI
1 parent d9caf54 commit 3535067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/codeflare

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ do
121121
done
122122
shift $((OPTIND-1))
123123

124-
if [ $# = 0 ] || [ $# = 1 ] && [ "$1" != "version" ]; then
124+
if ([ $do_cli = 1 ] && [ $# = 0 ]) || ([ $# = 1 ] && [ "$1" != "version" ]); then
125125
# use the "guide" command if none was given
126126
EXTRAPREFIX="$EXTRAPREFIX guide"
127127
fi

0 commit comments

Comments
 (0)