Commit 136bf28
authored
fix: use correct type for stat size
Hey. I console.log'd a list of files I got from `fs.readDir()` and to me it looks like the size property is of type `number`, not `string`:
```
{
"ctime": "2021-10-19T16:02:30.807Z",
"mtime": "2021-10-19T16:02:35.146Z",
"name": "B1979F99-6369-4036-8476-B6D14E653B0E.mp4",
"path": "/private/var/mobile/Containers/Data/Application/0CE5748F-79A8-4120-B366-C92E6E0C6D17/tmp/ReactNative/B1979F99-6369-4036-8476-B6D14E653B0E.mp4",
"size": 34234799,
}
```
Could you please check and verify/falsify that?1 parent 146e7fb commit 136bf28
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments