swagger-coverage-py icon indicating copy to clipboard operation
swagger-coverage-py copied to clipboard

Fix reporter.py for Windows

Open nekdan opened this issue 11 months ago • 0 comments

The report generation always used "swagger-coverage-commandline", but Windows does not support POSIX shell. Due to this, when running on Windows, an error appeared: subprocess.py:1538: OSError: 1 is not a valid Win32 application. Therefore, I added an additional check, now if the system is Windows, then swagger-coverage-commandline.bat is used

nekdan avatar Jan 14 '25 13:01 nekdan