(ref: string, filePath: string)
| 722 | } |
| 723 | |
| 724 | function getFileFromCommit(ref: string, filePath: string): string | null { |
| 725 | try { |
| 726 | return git(["show", `${ref}:${filePath}`]); |
| 727 | } catch { |
| 728 | return null; |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | // ============================================================================= |
| 733 | // Config Helpers |
no test coverage detected