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
dotnet new console -n foo
cd foo
dotnet new editorconfig
dotnet csharpier ./ # './' will cause an exception.
Expected behavior:
No exceptions.
Actual behavior:
Error Failure parsing editorconfig files for /home/hashitaku/foo/./
The filePath of /home/hashitaku/foo/.editorconfig does not start with the ignoreBaseDirectoryPath of /home/hashitaku/foo/./
at CSharpier.Cli.IgnoreFile.IsIgnored(String filePath) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/IgnoreFile.cs:line 26
at CSharpier.Cli.EditorConfig.EditorConfigParser.<>c__DisplayClass0_0.<FindForDirectoryName>b__0(IFileInfo x) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/EditorConfig/EditorConfigParser.cs:line 34
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at CSharpier.Cli.EditorConfig.EditorConfigParser.FindForDirectoryName(String directoryName, IFileSystem fileSystem, Boolean limitEditorConfigSearch, IgnoreFile ignoreFile) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/EditorConfig/EditorConfigParser.cs:line 27
at CSharpier.Cli.Options.OptionsProvider.Create(String directoryName, String configPath, IFileSystem fileSystem, ILogger logger, CancellationToken cancellationToken, Boolean limitEditorConfigSearch) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/Options/OptionsProvider.cs:line 56
Formatted 1 files in 178ms.
The text was updated successfully, but these errors were encountered:
Environments:
Steps to reproduce:
Expected behavior:
No exceptions.
Actual behavior:
The text was updated successfully, but these errors were encountered: