parent
755e30211c
commit
27af9705dd
|
|
@ -10,7 +10,7 @@ export function normalize(path) {
|
|||
}
|
||||
|
||||
export function getHash(path) {
|
||||
const match = path?.match(hashRE)
|
||||
const match = path && path.match(hashRE)
|
||||
if (match) {
|
||||
return match[0]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue