fix paths on Write()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-14 16:08:44 -07:00
parent 9648439950
commit ee9a683f8c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func WgetToFile(filepath string, url string) error {
func Write(filepath string, data string) bool {
data = Chomp(data) + "\n"
// Create the file
out, err := os.Create(filepath)
out, err := os.Create(Path(filepath))
if err != nil {
return false
}