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

Support qjs -m flag in combination with -e #863

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

bnoordhuis
Copy link
Contributor

Evaluate the expression as a module when -m is specified, not as a classic script.

Fixes: #862

Evaluate the expression as a module when -m is specified, not as a
classic script.

Fixes: quickjs-ng#862
@bnoordhuis bnoordhuis merged commit f316533 into quickjs-ng:master Jan 28, 2025
61 checks passed
@bnoordhuis bnoordhuis deleted the fix862 branch January 28, 2025 22:23
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.

qjs -m -e <expr> should evaluate expression as module
2 participants