We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b234dda commit 2874863Copy full SHA for 2874863
templates/server/post-receive.erb
@@ -100,7 +100,7 @@ $stdin.each_line do |line|
100
Dir.chdir environment_path
101
do_cmd("git fetch --all")
102
do_cmd("git reset --hard 'origin/#{branchname}'")
103
- if File.exists? "#{environment_path}/.gitmodules"
+ if File.exist? "#{environment_path}/.gitmodules"
104
# ensure that we remove deleted sub modules too
105
do_cmd("git status --short").split("\n").each do |file|
106
# ?? old_submodule/
0 commit comments