Skip to content

Commit

Permalink
Update internal/exec/file_utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <erik@cloudposse.com>
  • Loading branch information
Listener430 and osterman authored Jan 29, 2025
1 parent 50f7c36 commit 43b0c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/exec/file_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func SanitizeFileName(uri string) string {
//
// On Windows, e.g. localPath = "D:\Temp\foo.json" => "file://D:/Temp/foo.json"
// On Linux, e.g. localPath = "/tmp/foo.json" => "file:///tmp/foo.json"
func toFileURL(localPath string) (string, error) {
func toFileScheme(localPath string) (string, error) {
pathSlashed := filepath.ToSlash(localPath)

if runtime.GOOS == "windows" {
Expand Down

0 comments on commit 43b0c35

Please sign in to comment.