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(cli): custom tsconfig gets wrong path #597

Merged
merged 1 commit into from Jun 4, 2020
Merged

Conversation

Atrox
Copy link
Contributor

@Atrox Atrox commented Jun 4, 2020

When using a custom tsconfig it fails on the require(tsConfigPath); because the path is wrong:
(node:34784) UnhandledPromiseRejectionWarning: Error: Cannot find module 'tsconfig.server.json'

Before this fix only the default parameter had the correct path.

@B4nan B4nan changed the title fix: custom tsconfig gets wrong path fix(cli): custom tsconfig gets wrong path Jun 4, 2020
@B4nan B4nan merged commit acd762c into mikro-orm:dev Jun 4, 2020
@B4nan
Copy link
Member

B4nan commented Jun 4, 2020

thanks!

B4nan pushed a commit that referenced this pull request Jun 5, 2020
B4nan pushed a commit that referenced this pull request Jun 16, 2020
B4nan pushed a commit that referenced this pull request Aug 2, 2020
B4nan pushed a commit that referenced this pull request Aug 9, 2020
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.

None yet

2 participants