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]) = ...@@ -154,12 +154,17 @@ proc pullProjectArr(config: ProgConf, projectArr: seq[string]) =
project.log.logInfo(, "Pulled successfully.") project.log.logInfo(, "Pulled successfully.")
proc cloneProject*(config: ProgConf, projects: seq[string]) = proc cloneProject*(projects: seq[string]) =
fullLog = initFullLogs(config.logPath)
var var
config: ProgConf
project: DebPackage project: DebPackage
stderr: string stderr: string
fullLog = initFullLogs(config.logPath)
if not initConfig(config):
project.log = fullLog project.log = fullLog
for name in projects: for name in projects: = name = name
Supports Markdown
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