Skip to content

Commit 8ac1a56

Browse files
committed
Update cli.ts
1 parent ca2ee97 commit 8ac1a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Options:
3333
if (!name) {
3434
// Derive name from input filename or URL path
3535
const basename = input.split("/").pop()!.split("?")[0];
36-
name = basename.replace(/\.svg$/i, "");
36+
name = basename.replace(/\.svg$/i, "").replace(/\.sfsymbol$/i, "");
3737
}
3838

3939
if (!output) {

0 commit comments

Comments
 (0)