Skip to content

Commit b4e58b1

Browse files
committed
Fix bug where command line provided config couldn't start with drive letter
1 parent 57fbdbe commit b4e58b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BuildCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal class BuildCommand : CommonCommand
2222

2323
[CliOption(Description = "Path to configuration file", Required = false,
2424
Name = "config", Alias = "c",
25-
ValidationRules = CliValidationRules.LegalFileName | CliValidationRules.ExistingFile)]
25+
ValidationRules = CliValidationRules.LegalPath | CliValidationRules.ExistingFile)]
2626
public string? ConfigFile { get; set; }
2727

2828
[CliOption(Description = "EXE/DLL File to grab Version from", Required = false,

0 commit comments

Comments
 (0)