blog URL slugs: fix bug
blog URL slugs: fix bug: a task in smol-software-harbor (Harbor dataset). Two blog posts with the same title get the same URL: uniqueSlug in src/slug.js never records the slugs it hands out ( unique fails). Fix it so every returned slug is added to taken . Run node --test test/ .test.js .
The task
Two blog posts with the same title get the same URL: `uniqueSlug` in `src/slug.js` never records the slugs it hands out (`unique` fails). Fix it so every returned slug is added to `taken`. Run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.