Update topic assignment

pull/5821/head
Kamran Ahmed 10 months ago
parent 458ae33eec
commit dfef66f4b5
  1. 6
      scripts/assign-label-types.cjs

@ -1,8 +1,11 @@
const fs = require('node:fs');
const path = require('node:path');
const roadmapId = 'frontend';
const allRoadmapDirs = fs.readdirSync(
path.join(__dirname, '../src/data/roadmaps'),
);
allRoadmapDirs.forEach((roadmapId) => {
const roadmapDir = path.join(
__dirname,
`../src/data/roadmaps/${roadmapId}/content`,
@ -182,3 +185,4 @@ files.forEach((file) => {
fs.writeFileSync(file, newContent);
});
});

Loading…
Cancel
Save