We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 431ef0f commit 210accfCopy full SHA for 210accf
1 file changed
packages/icons/scripts/validate-svg.mjs
@@ -15,7 +15,7 @@
15
*/
16
17
import { readdirSync, readFileSync } from 'node:fs'
18
-import { join, basename } from 'node:path'
+import { join } from 'node:path'
19
20
const SVG_DIRS = ['./src/svg-raw/ai/', './src/svg-raw/pi']
21
@@ -36,7 +36,6 @@ for (const dir of SVG_DIRS) {
36
for (const file of files) {
37
const filePath = join(dir, file)
38
const content = readFileSync(filePath, 'utf-8')
39
- const name = basename(file, '.svg')
40
41
// Filename with spaces
42
if (file.includes(' ')) {
0 commit comments