This commit is contained in:
@@ -2,6 +2,11 @@ import { readFile, writeFile } from 'node:fs/promises';
|
||||
import { dirname, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
throw new Error(
|
||||
'The bootstrap archive generator is retired: it would overwrite reviewed editorial articles. '
|
||||
+ 'Use a reviewed month-specific upgrade and apply the resulting patch instead.',
|
||||
);
|
||||
|
||||
const webRoot = join(dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const articlesPath = join(webRoot, 'data', 'articles.json');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user