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 3041189 commit c1c0123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ class SimpleCodePicker(private val config: PickerConfig) : CodePicker {
branch = branch,
workdir = baseDir.absolutePathString(),
)
executeGitCheckout(settings)

val sourceRepoDir = baseDir.resolve(settings.repositoryPath)
try {
Files.createDirectories(targetDir.parent)
} catch (e: Exception) {
logger.info("create dir failed: ${targetDir.parent}")
}

executeGitCheckout(settings)

logger.info("targetDir: $targetDir")
simpleCodePicker.moveRepository(sourceRepoDir, targetDir)
return targetDir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class PickDirectoryWalker(private val output: Channel<FileJob>, private val excl
}
}
} else {
println("start walk: $workdir")
createDirJob(workdir, workdir)
}
}
Expand Down

0 comments on commit c1c0123

Please sign in to comment.