From 1df30cf347c1f4e64d5542a6b9026cbf1a9d651f Mon Sep 17 00:00:00 2001 From: Tom Rankin Date: Mon, 10 Feb 2020 20:22:03 -0600 Subject: [PATCH] Change because node 0.12 doesn't support string interpolation. --- lib/install-ozw.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/install-ozw.js b/lib/install-ozw.js index 3c5ffd7a..c8d8b46d 100644 --- a/lib/install-ozw.js +++ b/lib/install-ozw.js @@ -187,17 +187,17 @@ module.exports = function(opts) { fs.mkdirSync(tempPath); fs.writeFileSync(tempPath + '/package.json', - `{ - "name": "", - "version": "", - "description": "", - "main": "", - "dependencies": {}, - "devDependencies": {}, - "scripts": {}, - "author": "", - "license": "" - }` + '{ \r\n' + + ' "name": "", \r\n' + + ' "version": "", \r\n' + + ' "description": "", \r\n' + + ' "main": "", \r\n' + + ' "dependencies": {}, \r\n' + + ' "devDependencies": {}, \r\n' + + ' "scripts": {}, \r\n' + + ' "author": "", \r\n' + + ' "license": "" \r\n' + + '}' ); process.chdir(tempPath);