-
Notifications
You must be signed in to change notification settings - Fork 698
Open
Description
System information
- node version:
- npm or yarn version:
- OS/version/architecture:
- Applicable nodegit version:
v22.12.0
10.9.0
linux
6.10.14-linuxkit
arm64
I'm using typescript, when I examine the object none of the javascript extension methods defined in repository.js appear to actually be present on the repo object (e.g. getRemote)
import Git from 'nodegit'
export async function run(): Promise<void> {
const tag = `v${version}`
const repo = await Git.Repository.open('./repo/.git')
// Here I cannot do repo.getRemote('origin') as I get TypeError: repo.getRemote is not a function
const remote = await Git.Remote.lookup(repo, 'origin')
}Metadata
Metadata
Assignees
Labels
No labels