Skip to content

Only upload files #11

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Only upload files #11

wants to merge 1 commit into from

Conversation

pathurs
Copy link

@pathurs pathurs commented Sep 7, 2020

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'
}

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'
}
```
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant