Skip to content

Commit 3e10d31

Browse files
authored
Merge pull request #1677 from solid/containerIsNotFile
do not create container .meta by default
2 parents 2432c25 + 0cc4567 commit 3e10d31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ldp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ class LDP {
286286
}
287287

288288
// Directory created, now write the file
289+
if (container) return
289290
return withLock(path, () => new Promise((resolve, reject) => {
290291
// HACK: the middleware in webid-oidc.js uses body-parser, thus ending the stream of data
291292
// for JSON bodies. So, the stream needs to be reset

0 commit comments

Comments
 (0)