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

Transforms outputting to same file silently overwrite each other #12

Open
alterae opened this issue Oct 15, 2022 · 0 comments
Open

Transforms outputting to same file silently overwrite each other #12

alterae opened this issue Oct 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alterae
Copy link
Owner

alterae commented Oct 15, 2022

Minimal reproduction:

.
├── layout
├── mksite.toml
├── src
│  ├── foo.1
│  └── foo.2
└── static
# mksite.toml
[transforms]
1.txt = "cat"
2.txt = "cat"

This will result in only one page called foo.txt in out/.

This behavior should probably be at least a warning, probably an error.

@alterae alterae added the bug Something isn't working label Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant