-
Notifications
You must be signed in to change notification settings - Fork 976
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
file.exists() is always true #3764
Comments
This is actually outside the current scope of the emulator as the |
Thanks for this information. |
I had similar problems so implemented various missing features of the Storage emulator - its still waiting to be merged :-/ |
Use it that way: |
[REQUIRED] Environment info
firebase-tools: 9.18.0
Platform: macOS
[REQUIRED] Test case
The storage emulator within an executed script (with
exec
commande) is inconsistant because the emulator will always return that any file is existant, whatever file name you give him.[REQUIRED] Steps to reproduce
Execute the following snippet within the emulator (storage emulator needed). The output will always be true.
[REQUIRED] Expected behavior
The emulator to be consistant. The
File.exists()
method should returnsfalse
when a file was never created or deleted.[REQUIRED] Actual behavior
The
File.exists()
method always returnstrue
even for non existing files.The text was updated successfully, but these errors were encountered: