|
@@ -102,6 +102,7 @@ export namespace File {
|
|
|
const full = path.join(app.path.cwd, file)
|
|
const full = path.join(app.path.cwd, file)
|
|
|
const content = await Bun.file(full)
|
|
const content = await Bun.file(full)
|
|
|
.text()
|
|
.text()
|
|
|
|
|
+ .catch(() => "")
|
|
|
.then((x) => x.trim())
|
|
.then((x) => x.trim())
|
|
|
if (app.git) {
|
|
if (app.git) {
|
|
|
const rel = path.relative(app.path.root, full)
|
|
const rel = path.relative(app.path.root, full)
|