Fix Windows line endings for shell scripts after generation by tiangolo · Pull Request #149 · fastapi/full-stack-fastapi-template
Navigation Menu
{{ message }}
fastapi / full-stack-fastapi-template Public
- Notifications You must be signed in to change notification settings
- Fork 8.3k
Merged
Fix Windows line endings for shell scripts after generation#149
Fix Windows line endings for shell scripts after generation#149
Conversation
Copy link
Member
tiangolo
commented
Apr 18, 2020
tiangolo
commented
🐛 Fix Windows line endings for shell scripts after generation.
This uses Cookiecutter hooks and pathlib to replace all CR LF characters with LF in *.sh files.
https://cookiecutter.readthedocs.io/en/latest/advanced/hooks.html
tiangolo
merged commit
af4e0cf
into
master
tiangolo
deleted the
fix-windows-lines
branch
This was referenced
Apr 18, 2020Closed
Copy link
daddydrac
commented
May 7, 2020
daddydrac commented
May 7, 2020path: Path
^
SyntaxError: invalid syntax
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
pranjalsrv
mentioned this pull request
gusevyaroslove pushed a commit to gusevyaroslove/fastapi-template that referenced this pull request
Aug 4, 2024alejsdev added a commit that referenced this pull request
Dec 19, 2024This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment