(filePath: string, css: string)
| 10 | import { Options } from "./types"; |
| 11 | |
| 12 | async function writeCSSToFile(filePath: string, css: string) { |
| 13 | try { |
| 14 | await fs.promises.writeFile(filePath, css); |
| 15 | } catch (err: unknown) { |
| 16 | if (err instanceof Error) { |
| 17 | console.error(err.message); |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | async function read(stream: NodeJS.ReadStream) { |
| 23 | const chunks = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…