Azure / openapi-diff

Command line tool to detect breaking changes between two openapi specifications
MIT License
253 stars 34 forks source link

Commands "tslint" and "tslint-fix" run differently on Linux and Windows #320

Closed mikeharder closed 3 months ago

mikeharder commented 3 months ago

Commands "tslint" and "tslint-fix" run differently on Linux and Windows. Example:

https://dev.azure.com/azure-sdk/public/_build/results?buildId=3662755&view=results

I believe the fix is to quote the path arguments, to prevent them from being interpreted by the linux shell:

https://github.com/Azure/openapi-diff/blob/a81378284d200379db53d518ba004d16df9d2a7f/package.json#L99-L100