(dir string)
| 59 | } |
| 60 | |
| 61 | func (node *StdinNode) ResolveDir(dir string) (string, error) { |
| 62 | path, err := execext.ExpandLiteral(dir) |
| 63 | if err != nil { |
| 64 | return "", err |
| 65 | } |
| 66 | |
| 67 | if filepathext.IsAbs(path) { |
| 68 | return path, nil |
| 69 | } |
| 70 | |
| 71 | return filepathext.SmartJoin(node.Dir(), path), nil |
| 72 | } |
nothing calls this directly
no test coverage detected