File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,14 +161,14 @@ generate_new_config() {
161161 if ! command -v uuidgen & > /dev/null; then
162162 log_error " 未找到 uuidgen 命令,请安装 uuidgen"
163163 exit 1
164- }
164+ fi
165165
166166 # 检查配置文件是否存在
167167 if [ ! -f " $STORAGE_FILE " ]; then
168168 log_error " 未找到配置文件: $STORAGE_FILE "
169169 log_warn " 请先安装并运行一次 Cursor 后再使用此脚本"
170170 exit 1
171- }
171+ fi
172172
173173 # 将 auth0|user_ 转换为字节数组的十六进制
174174 local prefix_hex=$( echo -n " auth0|user_" | xxd -p)
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ generate_new_config() {
144144 log_error " 未找到配置文件: $STORAGE_FILE "
145145 log_warn " 请先安装并运行一次 Cursor 后再使用此脚本"
146146 exit 1
147- }
147+ fi
148148
149149 # 将 auth0|user_ 转换为字节数组的十六进制
150150 local prefix_hex=$( echo -n " auth0|user_" | xxd -p)
You can’t perform that action at this time.
0 commit comments