diff --git a/src/util.js b/src/util.js index e0d2399afeef41c2e40c4adfff2a9cde52d73756..f51492922c5865ed74cb342afdda21535ab406a3 100644 --- a/src/util.js +++ b/src/util.js @@ -378,7 +378,7 @@ function copyFile(inputFile, outputFile) { fs.existsSync(outputFile)) { copyJsonFile(inputFile, outputFile); } else if (!fs.existsSync(outputFile)){ - fs.writeFileSync(outputFile, fs.readFileSync(inputFile, 'utf-8')); + fs.writeFileSync(outputFile, fs.readFileSync(inputFile)); } } catch (err) { throw err;