-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Correcting typeorm scripts - Issue #204 #206
Conversation
Hi @Jrfidellis , Thanks for submitting this PR. I added some comments in the description to improve its traceability. The src
'- generate # Handles the commands `foal createapp` and `foal generate`
|- generators # Contains the code which renders the templates or updates the files
|- mocks # Contains some pieces of code used to test the file "updaters"
|- specs # Defines how the generated files should look like in different scenarios (specifications)
|- templates # Contains the actual templates used to generate the files
'- utils # Contains some helpers shared by all the generators Updating the If you encounter problems let me know! 😉 |
@LoicPoullain, i wasn't able to run the tests, maybe because of the Issue #187? All the errors (39 in total) look like this one:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Hmm, ok so the tests are running properly in the travis build anyway: https://travis-ci.org/FoalTS/foal/builds/425373591?utm_source=github_status&utm_medium=notification. So the PR is good. I guess that your issue is related to how Windows and Unix systems (Mac OS, Linux) handle differently line breaks. Depending on the OS sometimes they have different encodings: What makes me think of that is that the two compared strings look exactly the same but they actually end with a different character: |
Issue
Fix #204.
Solution and steps
ts-node
dependency.Checklist