* @description: 返回输出路径,如果输出路径不合法,则从第一个输入路径构造一个合法输出路径
()
| 9 | * @description: 返回输出路径,如果输出路径不合法,则从第一个输入路径构造一个合法输出路径 |
| 10 | */ |
| 11 | function getOutPutPATH(): string { |
| 12 | if (!PathFormat.checkPath(IOPath.getoutputpath())) { |
| 13 | const inputPATHList = IOPath.getList() |
| 14 | const pathFormat = new PathFormat() |
| 15 | pathFormat.setRootPath(inputPATHList[0]) |
| 16 | IOPath.setoutputpath(pathFormat.getRootPath()) |
| 17 | } |
| 18 | return IOPath.getoutputpath() |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * @description: 返回最终的json字符串配置文件 |
no test coverage detected