From 5a49d142464f42b87e8538579f34795d6a546036 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 15 Apr 2018 02:58:49 +0900 Subject: wip --- src/client/docs/gulpfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/docs/gulpfile.ts') diff --git a/src/client/docs/gulpfile.ts b/src/client/docs/gulpfile.ts index 56bf6188c8..5e81d6d3b5 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); + html = html.replace(i18n.pattern, i18n.replacement.bind(null, null)); html = fa(html); const htmlPath = `./built/client/docs/${lang}/${name}.html`; mkdirp(path.dirname(htmlPath), (mkdirErr) => { -- cgit v1.2.3-freya