Skip to content

Commit 27648f2

Browse files
KnerioCopilot
andauthored
Update tooling/rubocop/cop/sagittarius/error_code.rb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Dario Pranjic <96529060+Knerio@users.noreply.github.com>
1 parent d786482 commit 27648f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tooling/rubocop/cop/sagittarius/error_code.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ def filepath(node)
9292
node.location.expression.source_buffer.name
9393
end
9494

95-
def in_mutation?(node)
96-
dirname(node).include?('app/mutations') # .include? because the path is ../app/mutations/...
97-
end
98-
9995
def in_service?(node)
10096
dirname(node).include?('app/services') # .include? because the path is ../app/services/...
10197
end

0 commit comments

Comments
 (0)