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) {
|
||||
repositoryDir.delete()
|
||||
Git.init().setDirectory(repositoryDir).call()
|
||||
initializeRepository(repositoryDir)
|
||||
repository = Git.init().setDirectory(repositoryDir).call().repository
|
||||
}
|
||||
|
||||
// TODO add multiple remotes support for pull/push
|
||||
|
|
Loading…
Reference in a new issue