We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005d9f1 commit d359809Copy full SHA for d359809
lib/cc/engine/analyzers/go/main.rb
@@ -18,16 +18,16 @@ class Main < CC::Engine::Analyzers::Base
18
].freeze
19
POINTS_PER_OVERAGE = 40_000
20
REQUEST_PATH = "/go"
21
- COMMENT_MATCHER = Sexp::Matcher.parse("(_ (comments ___) ___)")
22
-
23
- def use_sexp_lines?
24
- false
25
- end
+ COMMENT_MATCHER = Sexp::Matcher.parse("(CommentGroup ___)")
26
27
def transform_sexp(sexp)
28
delete_comments!(sexp)
29
end
30
+ def use_sexp_lines?
+ false
+ end
+
31
private
32
33
def process_file(file)
0 commit comments