(filePath: string)
| 2 | import path from "node:path"; |
| 3 | |
| 4 | export function getFileContent(filePath: string) { |
| 5 | try { |
| 6 | const data = fs |
| 7 | .readFileSync(path.join(process.cwd(), filePath), { |
| 8 | encoding: "utf8" |
| 9 | }) |
| 10 | .replaceAll("@/registry/core/", "@/components/tailgrids/core/"); |
| 11 | |
| 12 | return data; |
| 13 | } catch (error) { |
| 14 | console.log(error); |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected