logrocket-cli icon indicating copy to clipboard operation
logrocket-cli copied to clipboard

Only upload files

Open pathurs opened this issue 5 years ago • 0 comments

If a folder ends with .js, .jsx, or .js.map, it will attempt to upload it, throwing an error:

Error: EISDIR: illegal operation on a directory, read
Emitted 'error' event on ReadStream instance at:
    at internal/fs/streams.js:202:14
    at FSReqCallback.wrapper [as oncomplete] (fs.js:528:5) {
  errno: -4068,
  code: 'EISDIR',
  syscall: 'read'
}

pathurs avatar Sep 07 '20 03:09 pathurs