Skip to content

Commit d1f1dff

Browse files
committed
Chomp the url
1 parent f0ce532 commit d1f1dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-sync-check.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def git(*cmd)
3131
end
3232

3333
module Slack
34-
WEBHOOK_URL = File.read(File.expand_path('~git/config/slack-webhook-alerts'))
34+
WEBHOOK_URL = File.read(File.expand_path('~git/config/slack-webhook-alerts')).chomp
3535

3636
class << self
3737
def notify(message)

0 commit comments

Comments
 (0)