(target)
| 34 | this.results = []; |
| 35 | } |
| 36 | runAndPrint(target) { |
| 37 | this.files.forEach(file => { |
| 38 | const result = this.runFile(file); |
| 39 | const printer = new Printer(result, target); |
| 40 | printer.print(); |
| 41 | }); |
| 42 | } |
| 43 | run() { |
| 44 | this.files.forEach(file => this.runFile(file)); |
| 45 | return this.results; |