aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorhunter <61890674+hunt-g@users.noreply.github.com>2023-01-22 16:27:55 -0700
committerGitHub <noreply@github.com>2023-01-23 00:27:55 +0100
commit84cfe531af3fb26fa31bb364c71a23b1e9845735 (patch)
tree0f92386012add095709607951f41e36e0cf827b7 /scripts
parent68e80c4d4ce162275f68a9a8099211626f1fe4ad (diff)
downloadVencord-84cfe531af3fb26fa31bb364c71a23b1e9845735.tar.gz
Vencord-84cfe531af3fb26fa31bb364c71a23b1e9845735.tar.bz2
Vencord-84cfe531af3fb26fa31bb364c71a23b1e9845735.zip
Ignore dotfiles in plugin dirs (#447)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/common.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs
index 2743c70..9e0023c 100644
--- a/scripts/build/common.mjs
+++ b/scripts/build/common.mjs
@@ -68,6 +68,7 @@ export const globPlugins = {
if (!existsSync(`./src/${dir}`)) continue;
const files = await readdir(`./src/${dir}`);
for (const file of files) {
+ if (file.startsWith(".")) continue;
if (file === "index.ts") {
continue;
}