(deployId: string, filePath: string, relativePath: string)
| 168 | } |
| 169 | |
| 170 | async postDeployFile(deployId: string, filePath: string, relativePath: string): Promise<void> { |
| 171 | const buffer = await fs.readFile(filePath); |
| 172 | return await this.postDeployFileContents(deployId, buffer, relativePath); |
| 173 | } |
| 174 | |
| 175 | async postDeployFileContents(deployId: string, contents: Buffer | string, relativePath: string): Promise<void> { |
| 176 | if (typeof contents === "string") contents = Buffer.from(contents); |
no test coverage detected