fixed a typo

This commit is contained in:
Alexei Kozachenko 2018-09-24 18:07:48 -04:00
parent 67ea230e07
commit 006e34b97b
1 changed files with 1 additions and 1 deletions

View File

@ -1681,7 +1681,7 @@ function mkdir(fs, context, path, mode, callback) {
function mkdtemp(fs, context, prefix, options, callback) { function mkdtemp(fs, context, prefix, options, callback) {
callback = arguments[arguments.length - 1]; callback = arguments[arguments.length - 1];
// this function is ised to generate a random character set to append // this function is used to generate a random character set to append
// to tmp dir name to make sure it is unique // to tmp dir name to make sure it is unique
function generateRandom() { function generateRandom() {
return 'xxxxxx'.replace(/[xy]/g, function(c) { return 'xxxxxx'.replace(/[xy]/g, function(c) {