Skip to content

Commit

Permalink
default to os newline
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Nov 18, 2015
1 parent db92d61 commit d41e1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/config-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ ConfigFile.prototype.write = function() {
function detectStyle(string) {
var style = {
tab: ' ',
newline: '\n',
newline: require('os').EOL,
trailingNewline: true,
quote: '"'
};
Expand Down

0 comments on commit d41e1e4

Please sign in to comment.