mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 17:42:24 +08:00
Update prettier ignore
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
package.json
|
||||
packages/**/node_modules/**
|
||||
tests/node_modules/**
|
||||
tests/app.playground.js
|
||||
tests/app.smartreply.js
|
||||
tests/app.admob.js
|
||||
|
||||
@@ -39,9 +39,7 @@ export function handleStorageEvent(storageInstance, event) {
|
||||
}
|
||||
|
||||
export function getHttpUrlParts(url) {
|
||||
const parts = url.match(
|
||||
/\/b\/(.*)\.appspot.com\/o\/([a-zA-Z0-9./\-_]+)(.*)/,
|
||||
);
|
||||
const parts = url.match(/\/b\/(.*)\.appspot.com\/o\/([a-zA-Z0-9./\-_]+)(.*)/);
|
||||
|
||||
if (!parts || parts.length < 3) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user