feat(remote): support include git remote (#1652)

This commit is contained in:
Valentin Maerten
2024-09-24 13:44:54 -04:00
committed by GitHub
parent d1dc271b9a
commit e6ea0647d7
9 changed files with 407 additions and 13 deletions

View File

@@ -81,6 +81,9 @@ func (node *FileNode) ResolveEntrypoint(entrypoint string) (string, error) {
if strings.Contains(entrypoint, "://") {
return entrypoint, nil
}
if strings.HasPrefix(entrypoint, "git") {
return entrypoint, nil
}
path, err := execext.Expand(entrypoint)
if err != nil {