lib/lhj/command/yapi.rb in lhj-tools-0.2.21 vs lib/lhj/command/yapi.rb in lhj-tools-0.2.23

- old
+ new

@@ -64,10 +64,10 @@ end save_config(config) if res_body['errcode'].to_i.zero? end end unless res_body['errcode'].to_i.zero? - puts '请执行 lhj yapi-init 初始化配置'.red + Actions.sh('lhj yapi-init', log: false) return end return unless res_body && !res_body.empty? # get project info