From 13340d47fcdbc9fa0eaaeee52d2c09338590a797 Mon Sep 17 00:00:00 2001 From: Brandon Smith Date: Sat, 6 Oct 2018 21:09:29 -0400 Subject: benchmark,doc,lib,src,test,tools: fix typos PR-URL: https://github.com/nodejs/node/pull/23302 Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- tools/lint-md.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/lint-md.js') diff --git a/tools/lint-md.js b/tools/lint-md.js index 9d46816526..8dd8a623db 100644 --- a/tools/lint-md.js +++ b/tools/lint-md.js @@ -90,7 +90,7 @@ function wrap(fn, callback) { * pipeline), but later also threw an error. * We’re not about to restart the pipeline again, * so the only thing left to do is to throw the - * thing instea. */ + * thing instead. */ if (callback && invoked) { throw err } @@ -901,7 +901,7 @@ function representYamlFloat(object, style) { res = object.toString(10); // JS stringifier can build scientific format without dots: 5e-100, - // while YAML requres dot: 5.e-100. Fix it with simple hack + // while YAML requires dot: 5.e-100. Fix it with simple hack return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res; } @@ -2322,7 +2322,7 @@ function readBlockScalar(state, nodeIndent) { } } - // Break this `while` cycle and go to the funciton's epilogue. + // Break this `while` cycle and go to the function's epilogue. break; } -- cgit v1.2.3