mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-29 05:14:04 +03:00
docs(1731): remove GA & allow deploy previews (#1732)
This commit is contained in:
@@ -27,6 +27,15 @@ async function getContributors() {
|
||||
* @return {Promise<*[]|ProfileNode[]|postcss.ChildNode[]|Array<parser.Node>|[]>}
|
||||
*/
|
||||
async function getSponsors() {
|
||||
/**
|
||||
* Deploy previews don't have access to secrets.
|
||||
* Return early since we don't have a token.
|
||||
*/
|
||||
if (process.env['DEPLOY_PREVIEW']) {
|
||||
console.log('Skipping sponsors because this is a deploy preview.')
|
||||
return []
|
||||
}
|
||||
|
||||
const query = `
|
||||
{
|
||||
user(login: "sagalbot") {
|
||||
|
||||
Reference in New Issue
Block a user