diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-10-30 13:53:01 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-01 09:59:20 +0300 |
commit | 733ae9492129e835f183902a97ee0886e2dbdc9b (patch) | |
tree | 32aa99d320223c2476f57668e5419fada4bd0be9 /lib/gitlab/slash_commands | |
parent | c71c1f03c78cb3362bbe2baaf49a8e3573c96d1a (diff) |
Fix typos in comments and specs
Diffstat (limited to 'lib/gitlab/slash_commands')
-rw-r--r-- | lib/gitlab/slash_commands/issue_new.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/slash_commands/issue_new.rb b/lib/gitlab/slash_commands/issue_new.rb index 25f965e843d..6396b828dc7 100644 --- a/lib/gitlab/slash_commands/issue_new.rb +++ b/lib/gitlab/slash_commands/issue_new.rb @@ -3,7 +3,7 @@ module Gitlab class IssueNew < IssueCommand def self.match(text) # we can not match \n with the dot by passing the m modifier as than - # the title and description are not seperated + # the title and description are not separated /\Aissue\s+(new|create)\s+(?<title>[^\n]*)\n*(?<description>(.|\n)*)/.match(text) end |