Repository.init method has a mandatory isBare parameter of type number.

This commit is contained in:
Lucas Ciruzzi
2017-08-24 17:42:36 -03:00
parent 6839a99461
commit 24631d5ab0
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Git.Repository.discover("startPath", 1, "ceilingDirs").then((string) => {
// Use string
});
Git.Repository.init("path", true).then((repository) => {
Git.Repository.init("path", 0).then((repository) => {
// Use repository
});