Skip to content

Commit

Permalink
Merge pull request #17 from Eisvana/dev
Browse files Browse the repository at this point in the history
fix regex
  • Loading branch information
Lenni009 authored Mar 22, 2024
2 parents cd82880 + dfe2695 commit 98d3701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.11.0
node-version: lts/*

- name: Add env vars
run: |
Expand Down
2 changes: 1 addition & 1 deletion logic/fileNameEscape.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const escapeFileName = (name: string): string => name.replaceAll(/['"[\]{}] /g, '_');
export const escapeFileName = (name: string): string => name.replaceAll(/['"[\]{} ]/g, '_');

0 comments on commit 98d3701

Please sign in to comment.