Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 8, 2023
1 parent 55a3a43 commit 7648cd9
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ class GitSourceSettingsTest {
val repository = "https://github.com/archguard/codedb"
val branch = "master"

val settings = GitSourceSettings.fromArgs(arrayOf("--repository", repository, "--branch", branch))
settings.workdir = ".tmp"
settings.repositoryPath = ".tmp" + java.io.File.separator + repository.substringAfterLast("/")
// val settings = GitSourceSettings.fromArgs(arrayOf("--repository", repository, "--branch", branch))
// settings.workdir = ".tmp"
val settings = GitSourceSettings(
repository = repository,
branch = branch,
workdir = ".tmp",
)

val commandManager = GitCommandManager(settings.repositoryPath)
doCheckout(commandManager, settings)
Expand Down

0 comments on commit 7648cd9

Please sign in to comment.