(name)
| 29 | splitMapTrim("\n", getTmp(str) || ""); |
| 30 | |
| 31 | export const getTmp = (name) => { |
| 32 | try { |
| 33 | return readFileSync(`./${name}.tmp`, { encoding: "utf-8" }); |
| 34 | } catch (e) { |
| 35 | return null; |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | export const setTmp = (name, data) => |
| 40 | writeFileSync(`./${name}.tmp`, data, { encoding: "utf-8" }); |
no outgoing calls
no test coverage detected