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

Commit abb34bc

Browse files
Missing return after reject
1 parent 5bcbfbc commit abb34bc

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)