lib/souls/cli/sync/model.rb in souls-0.34.0 vs lib/souls/cli/sync/model.rb in souls-0.34.1

- old
+ new

@@ -55,10 +55,10 @@ FileUtils.rm_rf(worker_dir) if Dir.exist?(worker_dir) FileUtils.mkdir(worker_dir) unless Dir.exist?(worker_dir) system("cp -r #{api_dir}/* #{worker_dir}") end rescue StandardError => e - puts(Paint["`souls api g scaffold $model` at `api` dir first!", :red]) + puts(Paint[e, :red]) end def get_models_path(service_name: "api") case service_name when "api"