gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
160 stars 12 forks source link

Log output mixes forward-slash and back-slash in paths. #4

Closed josh-padnick closed 3 years ago

josh-padnick commented 7 years ago

While running Boilerplate on Windows, the following output was observed:

PS C:\tools> boilerplate --template-folder C:\tools\boilerplate --output-folder C:\tools\output
[boilerplate] 2016/08/08 14:42:31 Loading boilerplate config from C:\tools\boilerplate/boilerplate.yml
Enter a value for variable 'Title': Hello
Enter the welcome text for the website: Welcome!
Should the website show the logo? (default: 'true'): false
[boilerplate] 2016/08/08 14:42:36 Processing templates in C:\tools\boilerplate and outputting generated files to C:\tools\output
[boilerplate] 2016/08/08 14:42:36 Skipping C:\tools\boilerplate
[boilerplate] 2016/08/08 14:42:36 Copying C:\tools\boilerplate\boilerplate.yml to C:\tools\output/boilerplate.yml
[boilerplate] 2016/08/08 14:42:36 Processing template C:\tools\boilerplate\index.html and writing to C:\tools\output/index.html

Note lines like the following:

[boilerplate] 2016/08/08 14:42:36 Processing template C:\tools\boilerplate\index.html and writing to C:\tools\output/index.html

where C:\tools\output/index.html mixes both \ and /. Instead, Boilerplate should format paths consistently.

yorinasub17 commented 3 years ago

This is fixed for windows in v0.3.0