Skip to content

Pass throwIfNoEntry to fs.statSync - #41604

Merged
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:ThrowIfNoEntry
Nov 23, 2020
Merged

Pass throwIfNoEntry to fs.statSync#41604
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:ThrowIfNoEntry

Conversation

@amcasey

Copy link
Copy Markdown
Member

Future versions of node will be able to return undefined, rather than allocating and throwing an exception, when a file is not found.

See nodejs/node#33716

Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
@typescript-bottypescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 20, 2020
Comment threadsrc/compiler/sys.ts
@amcasey
amcasey merged commit 669305b into microsoft:masterNov 23, 2020
@amcasey
amcasey deleted the ThrowIfNoEntry branch November 23, 2020 20:43
DanielRosenwasser pushed a commit that referenced this pull request Jun 14, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
DanielRosenwasser pushed a commit that referenced this pull request Jun 14, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
DanielRosenwasser pushed a commit that referenced this pull request Jun 14, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
DanielRosenwasser added a commit that referenced this pull request Jun 15, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
Co-authored-by: Andrew Casey <amcasey@users.noreply.github.com>
DanielRosenwasser added a commit that referenced this pull request Jun 15, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
Co-authored-by: Andrew Casey <amcasey@users.noreply.github.com>
DanielRosenwasser added a commit that referenced this pull request Jun 15, 2021
Future versions of node will be able to return undefined, rather than
allocating and throwing an exception, when a file is not found.
See nodejs/node#33716
Co-authored-by: Andrew Casey <amcasey@users.noreply.github.com>
@microsoftmicrosoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@amcasey@DanielRosenwasser@sheetalkamat@typescript-bot