feat(reposync): support custom directory name for repo sync (#132)
This commit is contained in:
@@ -1267,6 +1267,9 @@ func BuildRepoCommand(task *models.Task) (string, string) {
|
||||
if config.Extensions != "" {
|
||||
args = append(args, "--extensions", config.Extensions)
|
||||
}
|
||||
if config.DirName != "" {
|
||||
args = append(args, "--repo-name", config.DirName)
|
||||
}
|
||||
if string(task.PreCommand) != "" {
|
||||
args = append(args, "--pre-command", string(task.PreCommand))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user