refactor(cmd/joj3)!: conf #51
|  | @ -160,6 +160,7 @@ func parseConfFile(path string) (conf Conf, err error) { | |||
| 		return | ||||
| 	} | ||||
| 	// TODO: remove the following backward compatibility codes
 | ||||
| 	if len(conf.Stage.Stages) == 0 { | ||||
| 		conf.Stage.SandboxExecServer = conf.SandboxExecServer | ||||
| 		conf.Stage.SandboxToken = conf.SandboxToken | ||||
| 		conf.Stage.OutputPath = conf.OutputPath | ||||
|  | @ -178,6 +179,7 @@ func parseConfFile(path string) (conf Conf, err error) { | |||
| 				}, | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user