Skip to content

Commit 7868b10

Browse files
committed
Fix a constant reference
1 parent b87be88 commit 7868b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgi-bin/webhook.cgi

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class PushHook
187187
def execute(*cmd, user:)
188188
cmd = ['/usr/bin/sudo', '-u', user, *cmd]
189189
logger.info("+ #{cmd.shelljoin}")
190-
system("#{cmd.shelljoin} > #{LOG_PATH} 2>&1")
190+
system("#{cmd.shelljoin} > #{Webhook::LOG_PATH} 2>&1")
191191
end
192192
end
193193

0 commit comments

Comments
 (0)