We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4885f7 commit 1df30cfCopy full SHA for 1df30cf
lib/install-ozw.js
@@ -187,17 +187,17 @@ module.exports = function(opts) {
187
188
fs.mkdirSync(tempPath);
189
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
- }`
+ '{ \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' +
+ '}'
201
);
202
203
process.chdir(tempPath);
0 commit comments