style: convert to arrow function
This commit is contained in:
parent
7768ebe31a
commit
6ada776f51
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import Image from '@11ty/eleventy-img';
|
|||
|
||||
const ogImagesDir = './src/assets/og-images';
|
||||
|
||||
export const svgToJpeg = async function () {
|
||||
export const svgToJpeg = async () => {
|
||||
const socialPreviewImagesDir = 'dist/assets/og-images/';
|
||||
|
||||
if (!existsSync(socialPreviewImagesDir)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue