Skip to content

Commit 210accf

Browse files
chore: remove not used variable
1 parent 431ef0f commit 210accf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/icons/scripts/validate-svg.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
import { readdirSync, readFileSync } from 'node:fs'
18-
import { join, basename } from 'node:path'
18+
import { join } from 'node:path'
1919

2020
const SVG_DIRS = ['./src/svg-raw/ai/', './src/svg-raw/pi']
2121

@@ -36,7 +36,6 @@ for (const dir of SVG_DIRS) {
3636
for (const file of files) {
3737
const filePath = join(dir, file)
3838
const content = readFileSync(filePath, 'utf-8')
39-
const name = basename(file, '.svg')
4039

4140
// Filename with spaces
4241
if (file.includes(' ')) {

0 commit comments

Comments
 (0)