cli/pkg/cmd/attestation/test/path.go
Meredith Lancaster 82bd13b127 add logger and test packages
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 17:52:20 -07:00

13 lines
202 B
Go

package test
import (
"path/filepath"
"runtime"
)
func NormalizeRelativePath(posixPath string) string {
if runtime.GOOS == "windows" {
return filepath.FromSlash(posixPath)
}
return posixPath
}