mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
chore(ci): fix automatic contributors resolving; (#5403)
This commit is contained in:
@@ -12,7 +12,7 @@ const injectContributors = async (infile, injector) => {
|
||||
infile = path.resolve(__dirname, infile);
|
||||
|
||||
const content = String(await fs.readFile(infile));
|
||||
const headerRE = /^##\s+\[([-_\d.\w]+)]\s+-.+/mig;
|
||||
const headerRE = /^#+\s+\[([-_\d.\w]+)].+?$/mig;
|
||||
const contributorsRE = /^\s*### Contributors/mi;
|
||||
|
||||
let tag;
|
||||
|
||||
Reference in New Issue
Block a user