Chore: add callback in iconInit writeFile (#11134)

pull/11137/head
Jason Zoo 2018-05-13 11:11:45 +08:00 committed by 杨奕
parent 48b1ad063a
commit f4a16657e4
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ nodes.forEach((node) => {
} }
}); });
fs.writeFile(path.resolve(__dirname, '../../examples/icon.json'), JSON.stringify(classList)); fs.writeFile(path.resolve(__dirname, '../../examples/icon.json'), JSON.stringify(classList), () => {});