Skip to content

Commit 1df30cf

Browse files
committed
Change because node 0.12 doesn't support string interpolation.
1 parent c4885f7 commit 1df30cf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/install-ozw.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,17 @@ module.exports = function(opts) {
187187

188188
fs.mkdirSync(tempPath);
189189
fs.writeFileSync(tempPath + '/package.json',
190-
`{
191-
"name": "",
192-
"version": "",
193-
"description": "",
194-
"main": "",
195-
"dependencies": {},
196-
"devDependencies": {},
197-
"scripts": {},
198-
"author": "",
199-
"license": ""
200-
}`
190+
'{ \r\n' +
191+
' "name": "", \r\n' +
192+
' "version": "", \r\n' +
193+
' "description": "", \r\n' +
194+
' "main": "", \r\n' +
195+
' "dependencies": {}, \r\n' +
196+
' "devDependencies": {}, \r\n' +
197+
' "scripts": {}, \r\n' +
198+
' "author": "", \r\n' +
199+
' "license": "" \r\n' +
200+
'}'
201201
);
202202

203203
process.chdir(tempPath);

0 commit comments

Comments
 (0)