Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reporter.py for Windows #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nekdan
Copy link

@nekdan nekdan commented Jan 14, 2025

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 nekdan force-pushed the reporter-windows branch 2 times, most recently from 547084a to 87c97ba Compare January 14, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant