mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Chore: add callback in iconInit writeFile (#11134)
This commit is contained in:
@@ -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), () => {});
|
||||
|
||||
Reference in New Issue
Block a user