Skip to content

Commit 090f9f3

Browse files
committed
fix: Guess 'app' as the source path
appmap-ruby will now expand paths like 'app' to include all sub-packages. There's no need to list app/models, app/controllers, etc individually.
1 parent 7cbbc28 commit 090f9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appmap/service/guesser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module AppMap
44
module Service
55
class Guesser
6-
POSSIBLE_PATHS = %w[app/controllers app/models lib]
6+
POSSIBLE_PATHS = %w[app lib]
77
class << self
88
def guess_name
99
return Pathname.new(`git rev-parse --show-toplevel`.strip).basename.to_s if File.directory?('.git')

0 commit comments

Comments
 (0)