dotnet / dotnet/command-line-api

`AcceptExistingOnly` for `FileInfo` accepts existing directories

Open
#2,723 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Version 2.0.0 (Also affected 2.0.0-rc.2.25502.107, upgraded while creating issue)

A `FileInfo` argument/option with `AcceptExistingOnly` validation, considers an existing directory as valid.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.