File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ func ParseInput(raw string, options libs.Options) map[string]string {
179179 /* --- start to load default Env --- */
180180 // ~/osmedeus-base
181181 ROptions ["BaseFolder" ] = utils .NormalizePath (strings .TrimLeft (options .Env .BaseFolder , "/" ))
182- // ROptions["Plugins"] = options.Env.BinariesFolder
183182 ROptions ["Binaries" ] = options .Env .BinariesFolder
184183
185184 ROptions ["Backup" ] = options .Env .BackupFolder
@@ -201,6 +200,9 @@ func ParseInput(raw string, options libs.Options) map[string]string {
201200 }
202201 ROptions ["Output" ] = path .Join (ROptions ["Workspaces" ], ROptions ["Workspace" ])
203202
203+ ROptions ["ExecutionLog" ] = path .Join (ROptions ["Output" ], "execution.log" )
204+ ROptions ["LogFile" ] = options .LogFile
205+
204206 // params in workflow file
205207 if len (options .Flow .Params ) > 0 {
206208 for _ , param := range options .Flow .Params {
Original file line number Diff line number Diff line change @@ -392,12 +392,12 @@ func (r *Runner) Start() {
392392 r .RuntimeFile = r .Target ["Output" ] + "/runtime"
393393 r .WorkspaceFolder = r .Target ["Output" ]
394394
395- // update the log file
396- scanLogFile := r .WorkspaceFolder + "/execution.log"
397- utils .CopyFile (r .Opt .LogFile , scanLogFile )
398- r .Opt .LogFile = scanLogFile
399- utils .InitLog (& r .Opt )
400- utils .InforF ("Storing the log file to: %v" , color .CyanString (r .Opt .LogFile ))
395+ // // update the log file
396+ // scanLogFile := r.WorkspaceFolder + "/execution.log"
397+ // utils.CopyFile(r.Opt.LogFile, scanLogFile)
398+ // r.Opt.LogFile = scanLogFile
399+ // utils.InitLog(&r.Opt)
400+ // utils.InforF("Storing the log file to: %v", color.CyanString(r.Opt.LogFile))
401401
402402 r .GenerateFlowChart ()
403403 if r .Opt .Scan .DryRun {
You can’t perform that action at this time.
0 commit comments