From 48fe35582366d193c8223020c0e62f98fcbec896 Mon Sep 17 00:00:00 2001 From: CRIMX Date: Sun, 1 Oct 2017 09:27:30 +0800 Subject: [PATCH] Fixed #8 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ec02edb..92f4bae 100644 --- a/index.js +++ b/index.js @@ -74,7 +74,7 @@ if (options.enable !== false) { fs.writeFile( path.join(__dirname, 'emojis.json'), JSON.stringify(githubEmojis, null, '\t'), - function (err) { console.log(err) } + function (err) { err && console.warn(err) } ) } }