We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d5241 commit b44283bCopy full SHA for b44283b
packages/firebase-storage/index.ios.ts
@@ -557,7 +557,7 @@ export class Reference implements IReference {
557
558
writeToFile(localFilePath: string): Task {
559
let url;
560
- if (localFilePath?.indexOf('file:')) {
+ if (localFilePath?.indexOf('file:') > -1) {
561
url = NSURL.URLWithString(localFilePath);
562
} else {
563
url = NSURL.fileURLWithPath(localFilePath);
0 commit comments