diff options
author | Brandon Smith <brandon93s@gmail.com> | 2018-10-06 21:09:29 -0400 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-10-09 16:53:12 +0300 |
commit | 13340d47fcdbc9fa0eaaeee52d2c09338590a797 (patch) | |
tree | 8c818025873cdf6e4ef7a9f390f4e7aa9df4c791 /tools/lint-md.js | |
parent | 4d58c08865d7c996bb8cfbe15793443fd425410f (diff) | |
download | android-node-v8-13340d47fcdbc9fa0eaaeee52d2c09338590a797.tar.gz android-node-v8-13340d47fcdbc9fa0eaaeee52d2c09338590a797.tar.bz2 android-node-v8-13340d47fcdbc9fa0eaaeee52d2c09338590a797.zip |
benchmark,doc,lib,src,test,tools: fix typos
PR-URL: https://github.com/nodejs/node/pull/23302
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'tools/lint-md.js')
-rw-r--r-- | tools/lint-md.js | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |