(extensions, candidate, onlyRecordFailures, state)
| 43508 | return nextSeparatorIndex === -1 ? prevSeparatorIndex : nextSeparatorIndex; |
| 43509 | } |
| 43510 | function loadModuleFromFileNoPackageId(extensions, candidate, onlyRecordFailures, state) { |
| 43511 | return noPackageId(loadModuleFromFile(extensions, candidate, onlyRecordFailures, state)); |
| 43512 | } |
| 43513 | /** |
| 43514 | * @param {boolean} onlyRecordFailures - if true then function won't try to actually load files but instead record all attempts as failures. This flag is necessary |
| 43515 | * in cases when we know upfront that all load attempts will fail (because containing folder does not exists) however we still need to record all failed lookup locations. |
no test coverage detected
searching dependent graphs…