diff --git a/src/find.ts b/src/find.ts index eae1f18..d7c1c62 100644 --- a/src/find.ts +++ b/src/find.ts @@ -4,7 +4,7 @@ import {Repository, Commit, Tree, TreeEntry} from 'nodegit' export async function findWrapperJars(gitRepoPath: string): Promise { let repo: Repository = await Repository.open(gitRepoPath) - let commit: Commit = await repo.getMasterCommit() + let commit: Commit = await repo.getHeadCommit() let tree: Tree = await commit.getTree() let walker = tree.walk()