Closed hype8912 closed 3 months ago
@kehoecj i'd be happy to work on fixing this - are you still looking for someone to take this on?
@kehoecj i'd be happy to work on fixing this - are you still looking for someone to take this on?
@mahadzaryab1 yes, thank you!
I can't seem to reproduce the error on a Mac. I'm doing the following
./validator " test/fixtures/good.json"
2024/08/15 10:05:08 An error occurred during CLI execution: Unable to find files: stat test/fixtures/good.json: no such file or directory
I am on a MacOS laptop so is this issue specific to Windows?
I can't seem to reproduce the error on a Mac. I'm doing the following
./validator " test/fixtures/good.json" 2024/08/15 10:05:08 An error occurred during CLI execution: Unable to find files: stat test/fixtures/good.json: no such file or directory
I am on a MacOS laptop so is this issue specific to Windows?
Yeah, if you can't reproduce on a mac it sounds like it's windows-only
@kehoecj Do you have any suggestions on how I can go about testing the change?
@kehoecj Do you have any suggestions on how I can go about testing the change?
That's going to be tough - some options:
@kehoecj I've got a PR open to remove all the leading and trailing whitespaces in a path (https://github.com/Boeing/config-file-validator/pull/162)
Below is the command line I used and accidentally left a space in the beginning when I was trying to call a file directly. You can duplicate it with any file type by leaving a space at the beginning of the quotes.
Environment:
Here's the output:
If you remove the space at the beginning of the quoted path it runs correctly. Not a major issue since there is a workaround.