Skip to content

Commit 375b603

Browse files
committed
refactor(fix): Change from error to info when there's no object to normalize
1 parent 1fa47f4 commit 375b603

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/FixNormalization/Commands/FixCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ await DetectFilesInDirectory(e, targetedFiles, isRecursive: Recursive
109109

110110
if (targetedFiles.Count == 0)
111111
{
112-
AnsiConsole.MarkupLine($"[red]Error: there's no such valid file to normalize.[/]");
113-
return 22;
112+
AnsiConsole.MarkupLine($"[bold]Info[/]: there's no such file or directory to normalize.");
113+
return 0;
114114
}
115115

116116
var failed = new List<string>();

0 commit comments

Comments
 (0)