Commit 9c6c8fee authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

Fix args of cloneProject

parent bafda979
......@@ -154,12 +154,17 @@ proc pullProjectArr(config: ProgConf, projectArr: seq[string]) =
project.log.logInfo(project.name, "Pulled successfully.")
proc cloneProject*(config: ProgConf, projects: seq[string]) =
let
fullLog = initFullLogs(config.logPath)
proc cloneProject*(projects: seq[string]) =
var
config: ProgConf
project: DebPackage
stderr: string
let
fullLog = initFullLogs(config.logPath)
if not initConfig(config):
return
project.log = fullLog
for name in projects:
project.name = name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment