Open hauntingEcho opened 3 years ago
running the steps required as part of the PR template generates a bunch of junk on Windows, including:
master branch
running the steps required as part of the PR template
git checkout master && git reset --hard && git clean -fdx
./mvnw clean package
./bin/generate-samples.sh
git diff
Expected output: nothing in the diff Actual output: very long, containing a lot of spurious changes. See attached tmp.txt
Having the same issue, generated files contains the CRLF line ending when running the script on windows.
Bug Report Checklist
Description
running the steps required as part of the PR template generates a bunch of junk on Windows, including:
openapi-generator version
master branch
Generation Details
running the steps required as part of the PR template
Steps to reproduce
git checkout master && git reset --hard && git clean -fdx
to make sure you don't have any junk in your local repo./mvnw clean package
./bin/generate-samples.sh
to generate the samplesgit diff
to see the unwanted changes.Expected output: nothing in the diff Actual output: very long, containing a lot of spurious changes. See attached tmp.txt