Skip to content

Commit

Permalink
fix: remove backtick on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
decaf-dev committed Sep 14, 2024
1 parent 206bdf7 commit 26c6f18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/splitter/sanitize-file-name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const sanitizeFileName = (name: string, isWindows: boolean) => {
name = name.replace(/>/g, ""); // Remove greater than (Windows)
name = name.replace(/"/g, ""); // Remove double quote (Windows)
name = name.replace(/\*/g, ""); // Remove asterisk (Windows)
name = name.replace(/`/g, ""); // Remove backtick (Windows)
}

name = name.replace(/:/g, ""); // Remove colon (Windows, macOS)
Expand Down

0 comments on commit 26c6f18

Please sign in to comment.