Skip to content

Commit 4affcf9

Browse files
committed
add haml comment pattern to TEAM_PATTERN regex
1 parent 3f256c8 commit 4affcf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/code_ownership/private/ownership_mappers/file_annotations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class FileAnnotations
1818
extend T::Sig
1919
include Mapper
2020

21-
TEAM_PATTERN = T.let(%r{\A(?:#|//) @team (?<team>.*)\Z}.freeze, Regexp)
21+
TEAM_PATTERN = T.let(%r{\A(?:#|//|-#) @team (?<team>.*)\Z}.freeze, Regexp)
2222
DESCRIPTION = 'Annotations at the top of file'
2323

2424
sig do

0 commit comments

Comments
 (0)