chore: update github avatar images (#2762)
This commit is contained in:
parent
f8fc0efadc
commit
a27c218802
5 changed files with 0 additions and 3 deletions
public/avatars
scripts
Binary file not shown.
Before ![]() (image error) Size: 49 KiB After ![]() (image error) Size: 16 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 18 KiB After ![]() (image error) Size: 6.6 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 2.8 KiB After ![]() (image error) Size: 2.8 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 1.6 KiB After ![]() (image error) Size: 1.6 KiB ![]() ![]() |
|
@ -9,9 +9,6 @@ const avatarsDir = resolve('./public/avatars/')
|
|||
const sizes = [60, 100]
|
||||
|
||||
async function download(url: string, fileName: string) {
|
||||
if (fs.existsSync(fileName))
|
||||
return
|
||||
|
||||
console.log('downloading', fileName)
|
||||
try {
|
||||
const image = await ofetch(url, { responseType: 'arrayBuffer' })
|
||||
|
|
Loading…
Add table
Reference in a new issue