mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
chore: github actions (#3472)
This commit is contained in:
@@ -193,9 +193,7 @@ export default class StorageTask {
|
||||
on(event, nextOrObserver, error, complete) {
|
||||
if (event !== StorageStatics.TaskEvent.STATE_CHANGED) {
|
||||
throw new Error(
|
||||
`firebase.storage.StorageTask.on event argument must be a string with a value of '${
|
||||
StorageStatics.TaskEvent.STATE_CHANGED
|
||||
}'`,
|
||||
`firebase.storage.StorageTask.on event argument must be a string with a value of '${StorageStatics.TaskEvent.STATE_CHANGED}'`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user