[backport] always set fileInfoIdx.isKnownFile (#12773)
This commit is contained in:
parent
c5c6bae2a4
commit
b6b8d540e3
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ proc fileInfoIdx*(conf: ConfigRef; filename: AbsoluteFile; isKnownFile: var bool
|
||||||
pseudoPath = true
|
pseudoPath = true
|
||||||
|
|
||||||
if conf.m.filenameToIndexTbl.hasKey(canon.string):
|
if conf.m.filenameToIndexTbl.hasKey(canon.string):
|
||||||
|
isKnownFile = true
|
||||||
result = conf.m.filenameToIndexTbl[canon.string]
|
result = conf.m.filenameToIndexTbl[canon.string]
|
||||||
else:
|
else:
|
||||||
isKnownFile = false
|
isKnownFile = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue