Skip to content

Commit 68f080c

Browse files
committed
update noises
1 parent 5ca9917 commit 68f080c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/material-ui-icons/builder.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ async function generateIndex(options) {
9393
// Noise introduced by Google by mistake
9494
const noises = [
9595
['<path fill="none" d="M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z" />', ''],
96+
['<path fill="none" d="M0 0h24v24H0V0z" />', ''],
9697
['<path fill="none" d="M0 0h24v24H0V0zm0 0h24v24H0V0z" />', ''],
9798
['<path fill="none" d="M0 0h24v24H0z" />', ''],
9899
['="M0 0h24v24H0V0zm0 0h24v24H0V0z', '="'],
@@ -157,20 +158,20 @@ async function worker({ svgPath, options, renameFilter, template }) {
157158

158159
const outputFileDir = path.dirname(path.join(options.outputDir, destPath));
159160
const exists2 = await fse.exists(outputFileDir);
160-
161+
161162
if (!exists2) {
162163
console.log(`Making dir: ${outputFileDir}`);
163164
mkdirp.sync(outputFileDir);
164165
}
165-
166+
166167
const data = await fse.readFile(svgPath, { encoding: 'utf8' });
167168
const paths = await cleanPaths({ svgPath, data });
168-
169+
169170
const fileString = Mustache.render(template, {
170171
paths,
171172
componentName: getComponentName(destPath),
172173
});
173-
174+
174175
const absDestPath = path.join(options.outputDir, destPath);
175176
rimraf.sync(absDestPath); // Clean old file
176177
await fse.writeFile(absDestPath, fileString);
@@ -191,7 +192,6 @@ export async function main(options) {
191192
process.stdout.write = () => {};
192193
}
193194

194-
195195
let renameFilter = options.renameFilter;
196196
if (typeof renameFilter === 'string') {
197197
// eslint-disable-next-line global-require, import/no-dynamic-require

0 commit comments

Comments
 (0)