(deps commandDeps, raw string)
| 902 | } |
| 903 | |
| 904 | func resolveConfigWorkspaceRoot(deps commandDeps, raw string) (string, error) { |
| 905 | if strings.TrimSpace(raw) != "" { |
| 906 | return aghconfig.ResolvePath(raw) |
| 907 | } |
| 908 | return currentWorkingDirectory(deps) |
| 909 | } |
| 910 | |
| 911 | func resolveOptionalConfigWorkspaceRoot(raw string) (string, error) { |
| 912 | if strings.TrimSpace(raw) == "" { |
no test coverage detected