Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit 9aa6163

Browse files
Merge pull request #108 from owncloud/DeepDiver1975-patch-1
Missing return after reject
2 parents 5bcbfbc + abb34bc commit 9aa6163

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

owncloud/helperFunctions.js

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ helpers.prototype._makeDAVrequest = function(method, path, headerData, body) {
278278
request(options, function(error, response, body) {
279279
if (error) {
280280
reject(error);
281+
return;
281282
}
282283
if ([200, 207].indexOf(response.statusCode) > -1) {
283284
self._parseDAVresponse(resolve, reject, body);

0 commit comments

Comments
 (0)