corrects "typof" typo causing "SyntaxError: Unexpected identifier" error
This commit is contained in:
parent
b1617520cb
commit
28493c70bf
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ exports.rmdirRecursive = function rmdirRecursive(dir, failSilent, clbk){
|
||||||
if(err && typeof failSilent === 'boolean' && !failSilent)
|
if(err && typeof failSilent === 'boolean' && !failSilent)
|
||||||
return clbk(err);
|
return clbk(err);
|
||||||
|
|
||||||
if(typof failSilent === 'function')
|
if(typeof failSilent === 'function')
|
||||||
clbk = failSilent;
|
clbk = failSilent;
|
||||||
|
|
||||||
(function rmFile(err){
|
(function rmFile(err){
|
||||||
|
|
|
||||||
Reference in a new issue