(fileName string)
| 797 | } |
| 798 | |
| 799 | func normalizeSandboxWorkspacePath(fileName string) (string, error) { |
| 800 | normalized, err := normalizeSandboxRelativePath(fileName) |
| 801 | if err != nil { |
| 802 | return "", err |
| 803 | } |
| 804 | if normalized == "" || normalized == "." { |
| 805 | return "", fmt.Errorf("missing path argument") |
| 806 | } |
| 807 | return normalized, nil |
| 808 | } |
| 809 | |
| 810 | func normalizeSandboxInputPath(fileName string) (string, error) { |
| 811 | normalized, err := normalizeSandboxWorkspacePath(fileName) |
no test coverage detected