Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
}
return []
}
const profileWithProtocol = profile.startsWith('http')
? profile
: `http://${profile}`
const oldContributions = findOldContributions(login)
const newContributions = [
...new Set([...oldContributions, ...contributions]),
]
const newContributorsList = await addContributorWithDetails({
options,
login,
contributions: newContributions,
name,
avatar_url,
profile: profileWithProtocol,
})
const newOptions = {
...options,
contributors: newContributorsList,
}
this.options = newOptions
return newOptions
}
}
fileContentModifierFunction: function(content) {
return generateContentFile(
options,
options.contributors,
content,
)
},
})
fileContentModifierFunction: function(content) {
const contentWithBadge = initBadge(content)
const contentWithList = initContributorsList(contentWithBadge)
return contentWithList
},
})
fileContentModifierFunction: function(content) {
const contentWithBadge = initBadge(content)
const contentWithList = initContributorsList(contentWithBadge)
return contentWithList
},
})