-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
--input=SingleFile.njk --output=. processes nothing #186
Comments
Perhaps This bug is also triggered in the case where the input directory is a subdirectory of the output directory. e.g.
(for version |
This configuration in
I'm mentioning it here because I suspect it's related, because this configuration
results in no files processed. |
Perhaps related to #232
results in the output directory being the root directory! That's unexpected. |
I expect the output directory configured with That said, I believe Eleventy shouldn’t allow neither the input nor the output directory to be outside of the project directory. |
@kleinfreund hmm good point that does seem potentially dangerous. |
I don’t think this is an issue. The input file location should rule out the output directory to be the same because people will eventually end up overwriting their own files. In general, the output directory should never be the Eleventy project directory. |
As you can see in the screenshot,
!./**
takes precedence over./filename.njk
The text was updated successfully, but these errors were encountered: