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

esm: ensure cwd-relative imports for module --eval #28389

Closed
wants to merge 1 commit into from

Conversation

guybedford
Copy link
Contributor

Fixes #28160 ensuring that when using node --experimental-modules --input-type module --eval, that any import statements are cwd-relative.

Huge thanks to @zeckson for setting up these tests to begin with and @Avaq for the clear issue report on this!

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@guybedford guybedford force-pushed the module-rel-eval branch 2 times, most recently from b81a426 to 5e88cde Compare June 22, 2019 23:49
@nodejs-github-bot
Copy link
Collaborator

@guybedford
Copy link
Contributor Author

Landed in 4565292.

@guybedford guybedford closed this Jun 30, 2019
@guybedford guybedford deleted the module-rel-eval branch June 30, 2019 17:36
guybedford added a commit that referenced this pull request Jun 30, 2019
PR-URL: #28389
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Jul 2, 2019
PR-URL: #28389
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Jul 2, 2019
PR-URL: #28389
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@targos targos mentioned this pull request Jul 2, 2019
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.

Experimental module resolution inconsistency between --eval and file
3 participants