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 0f9a5e4 commit 463057fCopy full SHA for 463057f
lib/ldp.js
@@ -229,8 +229,8 @@ class LDP {
229
230
// First check if we are above quota
231
let isOverQuota
232
- // For some reason someone thought it was a bright idea to make url actually a
233
- // req sometimes but not all the time 🙄. So Now I have to account for that
+ // Someone had a reason to make url actually a req sometimes but not
+ // all the time. So now we have to account for that, as done below.
234
const hostname = typeof url !== 'string' ? url.hostname : URL.parse(url).hostname
235
try {
236
isOverQuota = await overQuota(this.resourceMapper.resolveFilePath(hostname), this.serverUri)
0 commit comments