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 a6067e3 commit 568b58aCopy full SHA for 568b58a
lib/handlers/notify.js
@@ -14,8 +14,7 @@ const ALLOWED_RDF_MIME_TYPES = [
14
function getParent (path) {
15
if (path === '' || path === '/') return
16
const parent = libPath.dirname(path)
17
- if (parent === '/') return
18
- return `${parent}/`
+ return parent === '/' ? '/' : `${parent}/`
19
}
20
21
function getActivity (method) {
0 commit comments