mirror of https://github.com/oliverbooth/fdup.git
fix: interpolate directory string
This commit is contained in:
parent
4e723362ae
commit
c77cb1a266
|
@ -15,7 +15,7 @@ internal sealed class ListCommand : AsyncCommand<ListSettings>
|
||||||
var inputDirectory = new DirectoryInfo(settings.InputPath);
|
var inputDirectory = new DirectoryInfo(settings.InputPath);
|
||||||
if (!inputDirectory.Exists)
|
if (!inputDirectory.Exists)
|
||||||
{
|
{
|
||||||
AnsiConsole.MarkupLine($"[red]{inputDirectory} does not exist![/]");
|
AnsiConsole.MarkupLineInterpolated($"[red]{inputDirectory} does not exist![/]");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue