fix: ycmd don't search for compilation DB in subfolders
This commit is contained in:
parent
a72a9aa26c
commit
c4008169c6
|
@ -144,7 +144,7 @@ def FindNearest(path, target, filename, subdirs=[]):
|
|||
parent = os.path.dirname(os.path.abspath(path))
|
||||
if(parent == path):
|
||||
raise RuntimeError("could not find %s" % target)
|
||||
return FindNearest(parent, target, filename)
|
||||
return FindNearest(parent, target, filename, subdirs)
|
||||
|
||||
def FindFileInDb(database, filename):
|
||||
logging.info("%s: Trying to find file in database..."
|
||||
|
|
Loading…
Reference in New Issue