summaryrefslogtreecommitdiff
path: root/lib/flowdock
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-04 15:10:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-04 15:10:36 +0000
commitbe4b3134a282f7a8812306777abd2d3150deecdc (patch)
tree0563327ce590b415047686c6feff43496742b49a /lib/flowdock
parent998adcc422d4161515bf2960ef4dce71258f69a3 (diff)
downloadgitlab-ce-be4b3134a282f7a8812306777abd2d3150deecdc.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/flowdock')
-rw-r--r--lib/flowdock/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flowdock/git.rb b/lib/flowdock/git.rb
index f165ecfc1fa..539fd66a510 100644
--- a/lib/flowdock/git.rb
+++ b/lib/flowdock/git.rb
@@ -17,7 +17,7 @@ module Flowdock
end
def initialize(ref, from, to, options = {})
- raise TokenError.new("Flowdock API token not found") unless options[:token]
+ raise TokenError, "Flowdock API token not found" unless options[:token]
@ref = ref
@from = from