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
Should eleventy --version
process any files or just output the version to console?
#1792
Comments
Possibly a dupe of #1313 |
@pdehaan Yeah it seems like possible dupe where
I think you might be onto something here. It looks like the |
Yeah let’s move to #1313 for this one! It’s the same issue I think. Thanks for the report! |
Describe the bug
When I run
eleventy --version
, it seems that my global data file github.js is executing. I guess it is an anonymous async function being exported for use but I didn't expecteleventy --version
to process any files.To Reproduce
Steps to reproduce the behavior:
eleventy --version
Expected behavior
I expected
eleventy --version
to not run any code or process files but simply to log the version number to the console.Screenshots
Environment:
The text was updated successfully, but these errors were encountered: