From b86b50a71ad7b2c8d1983d6ab2387a204cab5058 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 19 May 2021 15:25:42 +0100 Subject: [PATCH] Fix minifying --- src/commands/survey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/survey.js b/src/commands/survey.js index d6ffdd7..117f340 100644 --- a/src/commands/survey.js +++ b/src/commands/survey.js @@ -70,7 +70,7 @@ module.exports = class SurveyCommand extends Command { encoding: 'utf8' }); - template = template.replace(/\n|\t/, ''); + template = template.replace(/[\r\n\t]/g, ''); survey.questions.unshift('Ticket #');