From 89ea95ef45b437ed2d79fd337fe3b1471ebfbea4 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 7 Jan 2021 16:41:03 +0100 Subject: [PATCH] fix --- generatePadFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generatePadFile.js b/generatePadFile.js index 794aed4a..53960b1c 100644 --- a/generatePadFile.js +++ b/generatePadFile.js @@ -4,7 +4,7 @@ const packageJson = fs.readFileSync('app/package.json', { encoding: 'utf-8' }); const json = JSON.parse(packageJson); const { version } = json; -const template = fs.readFileSync('app/dbgate-pad-template.xml'); +const template = fs.readFileSync('app/dbgate-pad-template.xml', { encoding: 'utf-8' }); const date = new Date(); let size = 0;