Add CI for downloading emojis
This commit is contained in:
parent
66b2369476
commit
f31dc7d092
3 changed files with 28 additions and 1 deletions
|
@ -16,7 +16,7 @@ request({
|
|||
if (error || !_.isObject(json)) {
|
||||
console.error('Failded to download Github emojis.')
|
||||
console.log(error, response, json)
|
||||
return
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const latestEmojis = Object.keys(json).reduce((emojis, name) => {
|
||||
|
@ -39,6 +39,7 @@ request({
|
|||
function (err) {
|
||||
if (err) {
|
||||
console.warn(err)
|
||||
process.exit(1)
|
||||
} else {
|
||||
console.log(`Update ${Object.keys(emojis).length} emojis`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue