doc: fix info string causing duplicated code blocks · nodejs/node@90c6e77 · GitHub
Skip to content

Commit 90c6e77

Browse files
mleenhardtaduh95
authored andcommitted
doc: fix info string causing duplicated code blocks
Two fenced code blocks were incorrectly labeled as `js` instead of `cjs`, causing both ESM and CJS version to be shown on https://nodejs.org/api/test.html#timers instead of being conditionally shown depending on the value of the "CJS / ESM" toggle. PR-URL: #52660 Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 4baeb7b commit 90c6e77

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/test.md

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)