fix crlf / cr / lf system file ending
This commit is contained in:
@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user