* Creates a new file and writes the given data as a UTF-8-encoded text. * * @param dest - Destination filename, optionally including a relative path. * @param data - The text to write.
(dest: string, data: string)
| 175 | * @param data - The text to write. |
| 176 | */ |
| 177 | async writeTextFile(dest: string, data: string): Promise<void> { |
| 178 | dest = resolve(this.path, dest); |
| 179 | return outputFile(dest, data, 'utf-8'); |
| 180 | } |
| 181 | } |
no test coverage detected