()
| 551 | } |
| 552 | |
| 553 | private async findLeastRecentBuildMtimeMs(): Promise<number> { |
| 554 | let leastRecentMtimeMs = Infinity; |
| 555 | for await (const file of this.effects.visitFiles(this.deployOptions.config.output)) { |
| 556 | const joinedPath = join(this.deployOptions.config.output, file); |
| 557 | const stat = await this.effects.stat(joinedPath); |
| 558 | if (stat.mtimeMs < leastRecentMtimeMs) { |
| 559 | leastRecentMtimeMs = stat.mtimeMs; |
| 560 | } |
| 561 | } |
| 562 | return leastRecentMtimeMs; |
| 563 | } |
| 564 | |
| 565 | private async findBuildFiles(): Promise<string[]> { |
| 566 | const buildFilePaths: string[] = []; |
no test coverage detected