|
|
|
@ -623,6 +623,7 @@ class WelcomeController < ApplicationController
|
|
|
|
|
|
|
|
|
|
# 如果有目录才执行
|
|
|
|
|
logger.info("##########_------------- path: #{File.directory?("/home/pdl/educoder/tmp/repositories/local/#{local_git_path}")}")
|
|
|
|
|
logger.info("##########_------------- path: #{"/home/pdl/educoder/tmp/repositories/local/#{local_git_path}"}")
|
|
|
|
|
logger.info("##########_------------- new_giturl: #{new_giturl}")
|
|
|
|
|
if File.directory?("/home/pdl/educoder/tmp/repositories/local/#{local_git_path}")
|
|
|
|
|
logger.info("@@@@@@@@@@@@@@@@@@@@@@@@@@-----daole")
|
|
|
|
|