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 51adce4 commit b9af74eCopy full SHA for b9af74e
lib/git_tracker/standalone.rb
@@ -41,8 +41,8 @@ def save(filename, path: ".")
41
def each_source_file
42
GIT_TRACKER_ROOT.join("lib/git_tracker.rb").open("r") do |main|
43
main.each_line do |req|
44
- if req =~ /^require\s+["'](.+)["']/
45
- yield GIT_TRACKER_ROOT.join("lib/#{$1}.rb").to_path
+ if req =~ /^require\s+["']git_tracker\/(.+)["']/
+ yield GIT_TRACKER_ROOT.join("lib/git_tracker/#{$1}.rb").to_path
46
end
47
48
0 commit comments