(filePath: string)
| 48 | } |
| 49 | |
| 50 | async function readFileGracefully(filePath: string): Promise<string> { |
| 51 | try { |
| 52 | return await fs.promises.readFile(filePath, 'utf8'); |
| 53 | } catch { |
| 54 | return ''; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | /** Extract the embeeded credential from the action. */ |
| 59 | function getEmbeddedCredential(): string { |