Skip to content

Commit b7659ba

Browse files
committed
Updated generate-readme script to be compatible with newer node runtimes
1 parent 65fbf77 commit b7659ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generate-readme.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const outputFile = ROOT_PATH + 'README.md';
77
const result = inputFiles
88
.map(filePath => fs.readFileSync(filePath, 'utf8'))
99
.map(injectCodeBlocks)
10-
.map(injectExpanders);
10+
.map(injectExpanders)
11+
.toString();
1112

1213
fs.writeFileSync(outputFile, result, 'utf8');
1314

0 commit comments

Comments
 (0)