Skip to content

Commit 1090bd3

Browse files
committed
Merge branch 'feat/add-emoji' of github.com:yyz945947732/emoji-name-map into new-version
2 parents 21effbc + 431b3bc commit 1090bd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

data/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dataSource.forEach(source => {
1212
function writeFile(path, data) {
1313
const jsonStr = JSON.stringify(data);
1414
fs.writeFile(path, jsonStr, (err) => {
15-
if (err) rej(err);
15+
if (err) console.error(err);
1616
if (!err) {
1717
console.log('Success output to json!!');
1818
}

0 commit comments

Comments
 (0)