Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Eval CLI included files as scripts #621

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Eval CLI included files as scripts #621

merged 1 commit into from
Oct 24, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Oct 24, 2024

After 8cd59bf any file included by qjs with -I that would parse as a module is eval'd as so, which is usually not the intent, but rather to define some global functions.

After 8cd59bf any file included by qjs
with -I that would parse as a module is eval'd as so, which is usually
not the intent, but rather to define some global functions.
@saghul saghul force-pushed the cli-inlcudes-script branch from 5473d10 to 40ffa43 Compare October 24, 2024 19:54
@saghul
Copy link
Contributor Author

saghul commented Oct 24, 2024

Updated, PTAL!

@saghul saghul merged commit 0c8aeb1 into master Oct 24, 2024
47 checks passed
@saghul saghul deleted the cli-inlcudes-script branch October 24, 2024 20:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants