Skip to content

Commit adb0691

Browse files
committed
Improve comment on hack in header.js
1 parent 4924bc6 commit adb0691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function linksHandler (req, res, next) {
4646
let filename
4747
try {
4848
// Hack: createIfNotExists is set to true for PUT or PATCH requests
49-
// because the file does not exist yet at this point.
49+
// because the file might not exist yet at this point.
5050
// But it will be created afterwards.
5151
// This should be improved with the new server architecture.
5252
({ path: filename } = await ldp.resourceMapper

0 commit comments

Comments
 (0)