diff --git a/src/YamlValidator/InputProcessor.cs b/src/YamlValidator/InputProcessor.cs index ad9b6e5f..952c0f30 100644 --- a/src/YamlValidator/InputProcessor.cs +++ b/src/YamlValidator/InputProcessor.cs @@ -49,14 +49,14 @@ public static RootCommand GetRootCommand() { result.ErrorMessage = $"The folder '{inputFilePath}' does not contain any yaml files"; } - } + }*/ else if (File.Exists(inputFilePath)) { if (!inputFilePath.EndsWith(Constants.YamlFileExtension, StringComparison.OrdinalIgnoreCase)) { result.ErrorMessage = $"The file '{inputFilePath}' must be a '{Constants.YamlFileExtension}' file"; } - }*/ + } }); // assume local schema file exists in NuGet package, use relative filepath for now @@ -77,10 +77,10 @@ public static RootCommand GetRootCommand() { result.ErrorMessage = "The schema file must be a json file"; } - else if (!File.Exists(schemaPath)) + /*else if (!File.Exists(schemaPath)) { result.ErrorMessage = $"The schema file '{schemaPath}' does not exist"; - } + }*/ }); // define root