fix crlf / cr / lf system file ending

This commit is contained in:
King
2018-01-24 06:24:33 -05:00
parent 317d4b4220
commit d835cf4b40

View File

@ -61,7 +61,7 @@ snippetFiles
.filter((_, i) => blockMarkers[2] < i && i < blockMarkers[3]); .filter((_, i) => blockMarkers[2] < i && i < blockMarkers[3]);
// Export template for snippetName.js // Export template for snippetName.js
const exportFile = `${fileFunction.join('\n')}\n module.exports = ${fileName}`; const exportFile = `${fileFunction.join('\n')}\nmodule.exports = ${fileName}`.trim();
// Export template for snippetName.test.js which generates a example test & other information // Export template for snippetName.test.js which generates a example test & other information
const exportTest = [ const exportTest = [