Skip to content

Commit

Permalink
Change because node 0.12 doesn't support string interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
trankin committed Feb 11, 2020
1 parent c4885f7 commit 1df30cf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/install-ozw.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1df30cf

Please sign in to comment.