()
| 482 | } |
| 483 | |
| 484 | absoluteCwdPath() { |
| 485 | if (!this.config || !this.config.cwd) throw new Error("Instance config error, cwd is Null!"); |
| 486 | if (path.isAbsolute(this.config.cwd)) return path.normalize(this.config.cwd); |
| 487 | return path.normalize(path.join(process.cwd(), this.config.cwd)); |
| 488 | } |
| 489 | |
| 490 | // execute the preset command action |
| 491 | async execPreset(action: IPresetCommand, p?: any) { |
no outgoing calls
no test coverage detected