From 3a1b8abac1fb66e7d8e9a2a3980a13544d4c5a42 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 20 Feb 2019 14:57:26 -0500 Subject: [PATCH] fix lint error --- server/utils/generateFileSystemSafeName.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/generateFileSystemSafeName.js b/server/utils/generateFileSystemSafeName.js index 2eeef579..db835979 100644 --- a/server/utils/generateFileSystemSafeName.js +++ b/server/utils/generateFileSystemSafeName.js @@ -7,7 +7,7 @@ */ function generateFileSystemSafeName(string, replacer) { // from here https://serverfault.com/a/242134 - const INVALID_CHARS_REGEX = /[*/?:\\<>|"\u0000-\u001F]/g; + const INVALID_CHARS_REGEX = /[*/?:\\<>|"\u0000-\u001F]/g; // eslint-disable-line const slug = string.replace(INVALID_CHARS_REGEX, replacer || ''); return slug;