Skip to content

Commit 28d2e00

Browse files
committed
feat(@bolt/components-icons): cleaning code
1 parent 478ba17 commit 28d2e00

File tree

1 file changed

+6
-2
lines changed
  • packages/components/bolt-icons/__tests__

1 file changed

+6
-2
lines changed

packages/components/bolt-icons/__tests__/icons.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ async function collectFileNames(dir, fileList = []) {
2020
}
2121

2222
const timeout = 60000;
23-
const boltIconsDir = path.dirname(resolve.sync('@bolt/components-icons/package.json'));
24-
const boltIconDir = path.dirname(resolve.sync('@bolt/components-icon/package.json'));
23+
const boltIconsDir = path.dirname(
24+
resolve.sync('@bolt/components-icons/package.json'),
25+
);
26+
const boltIconDir = path.dirname(
27+
resolve.sync('@bolt/components-icon/package.json'),
28+
);
2529
const iconsJsFile = path.join(boltIconsDir, 'src/index.js');
2630
const schemaFile = path.join(boltIconDir, 'icon.schema.yml');
2731
const schema = yaml.safeLoad(fs.readFileSync(schemaFile, 'utf8'));

0 commit comments

Comments
 (0)