Skip to content

Commit

Permalink
fix: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 8, 2023
1 parent 7648cd9 commit 28d76b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GitSourceSettings(
val gitServerUrl: String = "https://github.com"
val nestedSubmodules: Boolean = false
val commit: String = ""
var repositoryPath = workdir + separator + repository.substringAfterLast("/")
var repositoryPath = repository.substringAfterLast("/")
val persistCredentials: Boolean = false
val sshStrict: Boolean = false
val sshKnownHosts: String = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ class GitSourceSettingsTest {
val repository = "https://github.com/archguard/codedb"
val branch = "master"

// val settings = GitSourceSettings.fromArgs(arrayOf("--repository", repository, "--branch", branch))
// settings.workdir = ".tmp"
val settings = GitSourceSettings(
repository = repository,
branch = branch,
Expand Down

0 comments on commit 28d76b4

Please sign in to comment.