fix: use created repository directly
This commit is contained in:
parent
3a83713715
commit
a96f24ac96
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ object PasswordRepository {
|
||||||
|
|
||||||
fun createRepository(repositoryDir: File) {
|
fun createRepository(repositoryDir: File) {
|
||||||
repositoryDir.delete()
|
repositoryDir.delete()
|
||||||
Git.init().setDirectory(repositoryDir).call()
|
repository = Git.init().setDirectory(repositoryDir).call().repository
|
||||||
initializeRepository(repositoryDir)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO add multiple remotes support for pull/push
|
// TODO add multiple remotes support for pull/push
|
||||||
|
|
Loading…
Reference in a new issue