-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option "contains" don't work if the file not exist (randomBytes method not found) #92
Comments
I propose you a fix :
Add the check on 'files[0]' and don't use the randomBytes method. |
I'm seeing the same issue, which started after upgrading from node 18.17.0 to node 20.12.1. Looks like the function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Thanks for this project !
I have a question, I would check if a file was download and start by a prefix.
But I need to use a timeout too.
So I combinated options like this :
And it not work. The contains option work, but if the file don't exist, the timeout was ignore, because the method :
Was in error :
![image](https://user-images.githubusercontent.com/17544724/223159245-7a5b18e1-160c-4d54-8389-26f2e7995336.png)
Thanks :)
The text was updated successfully, but these errors were encountered: