原来的版本用这个方法还能验证文件是否存在,这版本不管路径正确与否都返回false>_< 用fs.stat方法就能读取到…
2 回复
2012.02.02, Version 0.6.10 (stable)
-
Update V8 to 3.6.6.20
-
Add npm msysgit bash shim to msi installer (isaacs)
-
buffers: fix intermittent out of bounds error (Ben Noordhuis)
-
buffers: honor length argument in base64 decoder (Ben Noordhuis)
-
windows: Fix path.exists regression (Bert Belder)
-
Make QueryString.parse run faster (Philip Tellis)
-
http: avoid freeing http-parser objects too early (koichik)
-
timers: add v0.4 compatibility hack (Ben Noordhuis)
-
Proper EPERM error code support (Igor Zinkovsky, Brandon Philips)
-
dgram: Implement udp multicast methods on windows (Bert Belder)
0.6.10 已经解决这个问题了。