mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(readify) lstat -> stat
This commit is contained in:
parent
188989a412
commit
b96095f31c
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@
|
|||
}
|
||||
|
||||
function getStat(name, path, callback) {
|
||||
fs.lstat(path, function(error, data) {
|
||||
fs.stat(path, function(error, data) {
|
||||
callback(null, data || {
|
||||
'mode' : 0,
|
||||
'size' : 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue