Merge branch 'main' into fix-torch-lock-commands-3759471574036935483

This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-21 14:25:30 -05:00
commit 047a1fd2f8
4 files changed
+16 -6

No files matched your search

@@ -0,0 +1,14 @@
import test from 'node:test';
import assert from 'node:assert';
import fs from 'node:fs';
import path from 'node:path';
test('torch-config.example.json Security', () => {
const configPath = path.resolve('torch-config.example.json');
const content = fs.readFileSync(configPath, 'utf8');
const config = JSON.parse(content);
if (config.dashboard) {
assert.strictEqual(config.dashboard.auth, undefined, 'Example config should not contain auth field');
}
});