App crashes if there is a symlink in the file system
Closed this issue · 2 comments
zuzak commented
fs.js:689
return binding.stat(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory '/home/share/media/sfx/humblebundle/cavestoryplus/CaveStoryPlusSoundTrack'
at Object.fs.statSync (fs.js:689:18)
at /home/zuzak/git/cinequeue/routes/filesystem.js:32:23
at Array.map (native)
at /home/zuzak/git/cinequeue/routes/filesystem.js:30:19
at Object.oncomplete (fs.js:107:15)
zuzak commented
Code works. Your if
statement order could be better, though.