Skip to content

Commit

Permalink
Update export.delimited.zip.plugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger committed Oct 31, 2024
1 parent 0b85535 commit 7c3604e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions export/delimited-zip/src/export.delimited.zip.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export function exportDelimitedZip(options: PluginOptions) {
const tempDir = tmpdir()

const sanitizeFileName = (name: string) =>
path.basename(
name.replace(/[<>:"/\\|?*\x00-\x1F]/g, '').replace(/\s+/g, '_')
)
path.basename(name.replace(/[<>:"/\\|?*]/g, '').replace(/\s+/g, '_'))
const sanitizedWorkbookName = sanitizeFileName(workbook.name)

// Create a new directory in the system's temporary directory for the delimited files
Expand Down

0 comments on commit 7c3604e

Please sign in to comment.