mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
refactor: centralize channel ingress access
This commit is contained in:
@@ -16,7 +16,10 @@ function docsFiles() {
|
||||
cwd: ROOT,
|
||||
encoding: "utf8",
|
||||
});
|
||||
return output.split("\n").filter(Boolean);
|
||||
return output
|
||||
.split("\n")
|
||||
.filter(Boolean)
|
||||
.filter((relativePath) => fs.existsSync(path.join(ROOT, relativePath)));
|
||||
}
|
||||
|
||||
function runOxfmt(files) {
|
||||
|
||||
Reference in New Issue
Block a user