You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4d39a40
Browse filesBrowse the repository at this point in the historyBrowse files
module: use options bag for stat and tryFile probe flags
Address review feedback: pass the resolution-probe flag as a named option
instead of a positional boolean, so callsites read
tryFile(basePath + exts[i], { isMain, isSpeculativeProbe: true });
_stat(curPath, { isSpeculativeProbe: true });
`isMain` moves into the bag as well rather than staying positional, and
`stat` gets the same treatment since that is where the flag is consumed.
Both default to `kEmptyObject`, matching the existing idiom in this file.
No behaviour change: the negative-caching scope is identical and the
existing tests pass unmodified.
Signed-off-by: Maxime David <maxday@amazon.com>
0 commit comments