Skip to content

fs.existsSync(brokenSymlink) returns false #14025

@fuweichin

Description

@fuweichin
  • Version: node/6.10.2; npm/3.10.10
  • Platform: Windows 10 64-bit
  • Subsystem: fs (File System)

fs.existsSync(linkName) returns false when linkName is a broken symbolic link path(whose target does not exist).

Is the result by design or like a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions