summaryrefslogtreecommitdiff
path: root/src/client/docs/gulpfile.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/docs/gulpfile.ts')
-rw-r--r--src/client/docs/gulpfile.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/docs/gulpfile.ts b/src/client/docs/gulpfile.ts
index 5e81d6d3b5..56bf6188c8 100644
--- a/src/client/docs/gulpfile.ts
+++ b/src/client/docs/gulpfile.ts
@@ -53,7 +53,7 @@ gulp.task('doc:docs', async () => {
return;
}
const i18n = new I18nReplacer(lang);
- html = html.replace(i18n.pattern, i18n.replacement.bind(null, null));
+ html = html.replace(i18n.pattern, i18n.replacement);
html = fa(html);
const htmlPath = `./built/client/docs/${lang}/${name}.html`;
mkdirp(path.dirname(htmlPath), (mkdirErr) => {