Version
v2.0.3
Platform
Windows
What steps will reproduce the bug?
I'm trying to copy a file whose filename begins with an underscore, like the following example from the docs:
// Copy a underscored file
site.copy("_headers");
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
I'd expect to see a _headers file in the _site output directory.
What do you see instead?
Instead, I see a headers file (note the missling leading underscore).
Additional information
Is this the expected behaviour? If so, how can I copy a file and retain it's leading underscore?
Version
v2.0.3
Platform
Windows
What steps will reproduce the bug?
I'm trying to copy a file whose filename begins with an underscore, like the following example from the docs:
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
I'd expect to see a
_headersfile in the_siteoutput directory.What do you see instead?
Instead, I see a
headersfile (note the missling leading underscore).Additional information
Is this the expected behaviour? If so, how can I copy a file and retain it's leading underscore?