From d0cbde6b75afed4caadb8e71035d14a1f095db91 Mon Sep 17 00:00:00 2001 From: Lenni009 Date: Fri, 22 Mar 2024 17:04:41 +0100 Subject: [PATCH 1/2] use LTS node version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99db627..ffdf5dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | From 9f6ee597ec98df761d6b19844fd96e8485d42ccd Mon Sep 17 00:00:00 2001 From: Lenni009 Date: Fri, 22 Mar 2024 17:14:50 +0100 Subject: [PATCH 2/2] fix regex --- logic/fileNameEscape.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/fileNameEscape.ts b/logic/fileNameEscape.ts index b6c8dc3..99fce1b 100644 --- a/logic/fileNameEscape.ts +++ b/logic/fileNameEscape.ts @@ -1 +1 @@ -export const escapeFileName = (name: string): string => name.replaceAll(/['"[\]{}] /g, '_'); +export const escapeFileName = (name: string): string => name.replaceAll(/['"[\]{} ]/g, '_');