Open fth86 opened 8 years ago
Opening a file via slap file:line:column doesnt work in the current build (slap@0.1.60).
strace reports an error in .npm-packages/lib/node_modules/slap/lib/ui/Slap.js:67:14:
if (fs.lstatSync(filePath).isDirectory()) throw _.merge(new Error('EISDIR: illegal operation on a directory, read'), {cause: {code: 'EISDIR'}});
Commenting the line out makes it work, but dunno about unintended consequences of removing that check.
Opening a file via slap file:line:column doesnt work in the current build (slap@0.1.60).
strace reports an error in .npm-packages/lib/node_modules/slap/lib/ui/Slap.js:67:14:
if (fs.lstatSync(filePath).isDirectory()) throw _.merge(new Error('EISDIR: illegal operation on a directory, read'), {cause: {code: 'EISDIR'}});
Commenting the line out makes it work, but dunno about unintended consequences of removing that check.