Skip to content

Pass throwIfNoEntry to fs.statSync - #41604

Merged
Andrew Casey (amcasey) merged 1 commit into
microsoft:masterfrom
amcasey:ThrowIfNoEntry
Nov 23, 2020
Merged

Pass throwIfNoEntry to fs.statSync#41604
Andrew Casey (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
Comment thread src/compiler/sys.ts
@amcasey
Andrew Casey (amcasey) merged commit 669305b into microsoft:master Nov 23, 2020
@amcasey
Andrew Casey (amcasey) deleted the ThrowIfNoEntry branch November 23, 2020 20:43
Daniel Rosenwasser (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
Daniel Rosenwasser (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
Daniel Rosenwasser (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
Daniel Rosenwasser (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>
Daniel Rosenwasser (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>
Daniel Rosenwasser (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>
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants