Add Discordjs
CI / Build & Test (push) Failing after 52s

This commit is contained in:
2026-09-04 22:10:35 -04:00
parent 998cb3521f
commit 693814f46b
85 changed files with 5945 additions and 28 deletions
@@ -0,0 +1,16 @@
import fs from 'node:fs/promises';
import path from 'node:path';
const manifestPath = path.join(process.cwd(), 'patches', 'patch-manifest.json');
try {
const content = await fs.readFile(manifestPath, 'utf8');
const manifest = JSON.parse(content);
if (!Array.isArray(manifest.patches)) {
throw new Error('Invalid patch manifest format.');
}
console.log(`Patch manifest verified with ${manifest.patches.length} entries.`);
} catch (error) {
console.error(`Patch verification failed: ${error.message}`);
process.exit(1);
}