mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Migrate to Node 16 (#118)
* Node 16: fix build dependencies * Node 16: fix Bootstrap dependency problem * Node 16: fix error in HTML writer * Node 16: move await to proper place (h/t alliejones)
This commit is contained in:
@@ -19,8 +19,8 @@ module.exports = exports = async function favicon () {
|
||||
|
||||
const input = any(await Promise.all(
|
||||
MATCHES.map((f) =>
|
||||
fs.exists(resolve(f)).then((y) => y && f),
|
||||
),
|
||||
fs.exists(resolve(f)).then((y) => y && f)
|
||||
)
|
||||
));
|
||||
|
||||
if (!input) return [];
|
||||
|
||||
Reference in New Issue
Block a user