0.16.12: standard project schematics (Create draws holograms from schematics/)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
eece418627
commit
5a345c2a52
+1
-1
@@ -7,7 +7,7 @@ import crypto from 'crypto';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs'];
|
||||
const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs', 'schematics'];
|
||||
const sha256 = buf => crypto.createHash('sha256').update(buf).digest('hex');
|
||||
// Hash what git will check out (LF), not what a Windows working copy may hold (CRLF).
|
||||
const lf = buf => (buf.includes(0) ? buf : Buffer.from(buf.toString('utf8').replace(/\r\n/g, '\n'), 'utf8'));
|
||||
|
||||
Reference in New Issue
Block a user