feat(task): support custom repo sync dir name and fix UI copy (#132)
This commit is contained in:
@@ -1267,8 +1267,8 @@ 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 config.RepoDirName != "" {
|
||||
args = append(args, "--repo-name", config.RepoDirName)
|
||||
}
|
||||
if string(task.PreCommand) != "" {
|
||||
args = append(args, "--pre-command", string(task.PreCommand))
|
||||
|
||||
Reference in New Issue
Block a user