accept failure in emoji updating script

This commit is contained in:
Henry Jameson 2026-08-04 02:22:24 +03:00
commit 6e0f7c017f
2 changed files with 7 additions and 3 deletions

View file

@ -18,5 +18,9 @@ Object.keys(emojis).forEach((k) => {
}) })
console.info('Updating emojis...') console.info('Updating emojis...')
fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res)) try {
console.info('Done.') fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res))
console.info('Done.')
} catch (e) {
console.error('Failed updating emoji')
}

View file

@ -13,7 +13,7 @@ ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
COPY package.json yarn.lock ./ COPY package.json yarn.lock ./
RUN yarn --frozen-lockfile RUN yarn --frozen-lockfile
COPY . . COPY --chown=playwright . .
ENV CI=1 ENV CI=1