Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

fix: fix path handling error on windows #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tkak
Copy link

@tkak tkak commented Apr 5, 2020

On windows, template_dir resource is not working correctly when it handles subdirectories like

Error: open output/dir\foo.txt: The system cannot find the path specified.

I replaced path package with path/filepath package to fix the issue.

References: https://stackoverflow.com/questions/39181790/whats-the-difference-between-path-path-filepath-packages-in-go

This PR fixes #73

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant