mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
This commit is contained in:
@@ -83,11 +83,7 @@ attemptInvoicesCollection(error => {
|
||||
throw error
|
||||
}
|
||||
console.log(
|
||||
`DONE (DRY_RUN=${DRY_RUN}). ${
|
||||
INVOICES_COLLECTED.length
|
||||
} invoices collection attempts for ${USERS_COLLECTED.length} users. ${
|
||||
INVOICES_COLLECTED_SUCCESS.length
|
||||
} successful collections`
|
||||
`DONE (DRY_RUN=${DRY_RUN}). ${INVOICES_COLLECTED.length} invoices collection attempts for ${USERS_COLLECTED.length} users. ${INVOICES_COLLECTED_SUCCESS.length} successful collections`
|
||||
)
|
||||
console.dir(
|
||||
{
|
||||
|
||||
@@ -55,12 +55,8 @@ const printAccountCSV = (account, callback) => {
|
||||
first_name: account.first_name,
|
||||
last_name: account.last_name,
|
||||
hosted_login_token: account.hosted_login_token,
|
||||
billing_info_url: `https://sharelatex.recurly.com/account/billing_info/edit?ht=${
|
||||
account.hosted_login_token
|
||||
}`,
|
||||
account_management_url: `https://sharelatex.recurly.com/account/${
|
||||
account.hosted_login_token
|
||||
}`,
|
||||
billing_info_url: `https://sharelatex.recurly.com/account/billing_info/edit?ht=${account.hosted_login_token}`,
|
||||
account_management_url: `https://sharelatex.recurly.com/account/${account.hosted_login_token}`,
|
||||
current_period_ends_at: `${endAt.getFullYear()}-${endAt.getMonth() +
|
||||
1}-${endAt.getDate()}`,
|
||||
current_period_ends_at_segment: parseInt(
|
||||
|
||||
@@ -42,9 +42,7 @@ const ScriptLogger = {
|
||||
|
||||
printProgress: () => {
|
||||
console.warn(
|
||||
`Subscriptions checked: ${
|
||||
ScriptLogger.checkedSubscriptionsCount
|
||||
}. Mismatches: ${ScriptLogger.mismatchSubscriptionsCount}`
|
||||
`Subscriptions checked: ${ScriptLogger.checkedSubscriptionsCount}. Mismatches: ${ScriptLogger.mismatchSubscriptionsCount}`
|
||||
)
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user