blob: 74e94ab6ebd42a73d1e2227110baf10787116f8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*** EXPORT ------------------------------------------- ***/
export default async(filePath: string) => {
const fileExists = await Ende.stat(filePath);
if (!fileExists)
return "";
const content = await Ende.readTextFile(filePath);
return content;
}
|