Describe the bug
Optic CLI could not handle drive letter with lower case on Windows.
To Reproduce
Steps to reproduce the behavior:
Create any openapi file Windows
Run CLI like optic diff "d:\ApiCenter\test\test-api-spec\petstore.yaml" petstore2.yaml --check, make the drive letter of file path with lower case
Actual behavior
Show weird error message:
Expected behavior
Need to handle drive letters in a case-insensitive way on Windows.
The Optic CLI need to work whether drive letter is lower case or upper case.
Details (please complete the following information):
Describe the bug Optic CLI could not handle drive letter with lower case on Windows.
To Reproduce Steps to reproduce the behavior:
optic diff "d:\ApiCenter\test\test-api-spec\petstore.yaml" petstore2.yaml --check
, make the drive letter of file path with lower caseActual behavior Show weird error message:
Expected behavior Need to handle drive letters in a case-insensitive way on Windows. The Optic CLI need to work whether drive letter is lower case or upper case.
Details (please complete the following information):