Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Sep 12, 2023
1 parent d77d644 commit ffcc36c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyzer/analyzer.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def initialize_analyzers(logger : NoirLogger)
analyzers["ruby_rails"] = ->analyzer_rails(Hash(Symbol, String))
analyzers["ruby_sinatra"] = ->analyzer_sinatra(Hash(Symbol, String))
analyzers["java_spring"] = ->analyzer_spring(Hash(Symbol, String))
analyzers["kotlin_spring"] = ->analyzer_spring(Hash(Symbol, String))
analyzers["kotlin_spring"] = ->analyzer_kotlin_spring(Hash(Symbol, String))
analyzers["java_armeria"] = ->analyzer_armeria(Hash(Symbol, String))
analyzers["php_pure"] = ->analyzer_php_pure(Hash(Symbol, String))
analyzers["go_echo"] = ->analyzer_go_echo(Hash(Symbol, String))
Expand Down
6 changes: 6 additions & 0 deletions src/analyzer/analyzers/analyzer_spring.cr
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,9 @@ def analyzer_spring(options : Hash(Symbol, String))
instance.sync_base_path "java_spring"
instance.analyze
end

def analyzer_kotlin_spring(options : Hash(Symbol, String))
instance = AnalyzerSpring.new(options)
instance.sync_base_path "kotlin_spring"
instance.analyze
end

0 comments on commit ffcc36c

Please sign in to comment.