Commit 5fa276d8 authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

Fix logic of clone project create empty log file in wrong location

parent a1eb3221
Pipeline #2185 canceled with stages
......@@ -157,14 +157,16 @@ proc pullProjectArr(config: ProgConf, projectArr: seq[string]) =
proc cloneProject*(projects: seq[string]) =
var
config: ProgConf
if not initConfig(config):
return
var
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