• Sean McGivern's avatar
    Match full file path in FileDetector · 218e1f09
    Sean McGivern authored
    The basename appears to have been a holdover from the past - it doesn't look
    necessary now. Some of the regexes were unanchored on one side, so explicitly
    ensure that they only match the root.
    
    Apart from that, this means that pushing to foo/README.md will no longer
    invalidate the main README cache for a project.
    218e1f09
file_detector.rb 2.17 KB