fix(core): update

This commit is contained in:
2019-06-19 14:00:44 +02:00
parent fea523ff5c
commit 2864fc5507
3 changed files with 4 additions and 16 deletions

View File

@ -17,7 +17,7 @@ export class GitRepo {
return new GitRepo(ngRespository);
}
public static async createNewRepoInDir(dirArg: string): Promise<GitRepo> {
public static async createNewRepoInDir(dirArg: string): Promise<GitRepo> {
dirArg = plugins.path.resolve(dirArg);
const ngRepository = await plugins.nodegit.Repository.init(dirArg, 0);
return new GitRepo(ngRepository);