(item importQueueItem, resolvedPath, baseDir string)
| 438 | } |
| 439 | |
| 440 | func determineNestedBaseDir(item importQueueItem, resolvedPath, baseDir string) string { |
| 441 | isLocalRelative := !strings.Contains(resolvedPath, "/") || strings.HasPrefix(resolvedPath, "./") |
| 442 | if item.remoteOrigin == nil && !isWorkflowSpec(resolvedPath) && isLocalRelative { |
| 443 | return filepath.Dir(item.fullPath) |
| 444 | } |
| 445 | return baseDir |
| 446 | } |
| 447 | |
| 448 | func formatNestedResolveError(nestedImportPath, nestedFilePath string, item importQueueItem, workflowFilePath string, yamlContent string, resolveErr error) error { |
| 449 | if workflowFilePath != "" && yamlContent != "" { |
no test coverage detected