Skip to content

Commit

Permalink
removing unnecesary path handling in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
msquires authored and thmhoag committed Sep 3, 2020
1 parent 58dba0b commit b999271
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"io"
"os"
"path/filepath"
"runtime"
"strings"
"text/template"

Expand Down Expand Up @@ -218,10 +217,6 @@ func processPath(g *generator, fileName string, parmsObject interface{}, overrid

newFileName = buf.String()

if runtime.GOOS == "windows" {
newFileName = strings.ReplaceAll(newFileName, "/", `\`)
}

return newFileName, nil
}

Expand Down

0 comments on commit b999271

Please sign in to comment.