()
| 349 | }; |
| 350 | |
| 351 | const generateLocalizedHtmlFiles = () => { |
| 352 | return es.through(function (file) { |
| 353 | let relativePath = removePathPrefix(file.path, file.cwd); |
| 354 | languages.map((language) => { |
| 355 | let newContent = generateLocalizedHtmlFilesImpl(file, relativePath, language, false); |
| 356 | this.queue(new vinyl({ |
| 357 | path: path.join("html", language.id, relativePath), |
| 358 | contents: Buffer.from(newContent, 'utf8') |
| 359 | })); |
| 360 | }); |
| 361 | }); |
| 362 | }; |
| 363 | |
| 364 | const generateLocalizedWalkthroughHtmlFiles = () => { |
| 365 | return es.through(function (file) { |
no test coverage detected