mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
undefined size changed to 0, if we do not have rights to watch file size
This commit is contained in:
parent
888213beaf
commit
dffbbf3b37
1 changed files with 5 additions and 3 deletions
|
|
@ -427,10 +427,12 @@ CloudServer._readDir=function (pError, pFiles)
|
|||
try{
|
||||
lStats=Fs.statSync(RightDir+pFiles[i]);
|
||||
}catch(err){
|
||||
console.log(err);
|
||||
/*
|
||||
console.log(err);
|
||||
*/
|
||||
lStats={
|
||||
'mode':undefined,
|
||||
'size':undefined,
|
||||
'mode':0,
|
||||
'size':0,
|
||||
'isDirectory':fReturnFalse
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue