1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-26 04:52:43 +00:00

use markdown-it-footnote | fix lint | fix Actions

This commit is contained in:
zhdbk3
2025-08-13 16:45:33 +08:00
parent 7d17e157f3
commit f896ddf7b9
6 changed files with 16 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
const { chunk, uniq, uniqBy, difference } = require('lodash');
const { uniq, uniqBy, difference } = require('lodash');
const fs = require('fs-extra');
const { resolve } = require('./resolve');
const log = require('fancy-log');
@@ -32,6 +32,7 @@ function applyI18N (original_tweet, twitter_i18n) {
}
module.exports = exports = async function tweets (pages) {
// eslint-disable-next-line no-unused-vars
const [ twitter, twitterBackup, twitterCache ] = await Promise.all([
fs.readJson(resolve('twitter-config.json')).catch(() => null)
.then(getTwitterClient),