mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 16:40:48 +00:00
chore: generate
This commit is contained in:
parent
eb389c58eb
commit
2932b41e64
1 changed files with 1 additions and 5 deletions
|
|
@ -104,11 +104,7 @@ export function resolve(input: {
|
|||
return resolveGit({ name: input.name, repository: input.reference.repository, branch: input.reference.branch })
|
||||
}
|
||||
|
||||
export function resolveAll(input: {
|
||||
references: ConfigReference.NormalizedInfo
|
||||
directory: string
|
||||
worktree: string
|
||||
}) {
|
||||
export function resolveAll(input: { references: ConfigReference.NormalizedInfo; directory: string; worktree: string }) {
|
||||
const seen = new Map<string, { name: string; branch?: string }>()
|
||||
return Object.entries(input.references).map(([name, reference]) => {
|
||||
const resolved = resolve({ name, reference, directory: input.directory, worktree: input.worktree })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue