Skip to content

Commit

Permalink
fix: replace problematics chars for easy import to Excel
Browse files Browse the repository at this point in the history
  • Loading branch information
abtris committed Apr 4, 2017
1 parent dd6ecab commit 1cda118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -164,7 +164,7 @@ var flatten = function(options) {
if (!content) {
content = fs.readFileSync(moduleInfo.licenseFile, {encoding: 'utf8'});
}
moduleInfo.licenseText = content;
moduleInfo.licenseText = content.replace(/"/g, '\'').replace(/\r?\n|\r/g, " ").trim();
}
});

Expand Down

0 comments on commit 1cda118

Please sign in to comment.