doc: fix typo in example code for util.styleText · nodejs/node@627f299
doc: fix typo in example code for util.styleText
Code shows how to style `errorMessage`, but then only logs out `successMessage` twice. This might trip people up when copying the code. PR-URL: #56720 Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent e3b69e5 commit 627f299
1 file changed
Lines changed: 1 addition & 1 deletion