Skip to content

Commit 560c7bb

Browse files
author
Cihad Tekin
committed
[push] codacy fix
1 parent af199e3 commit 560c7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/push/api/api-drill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ module.exports.drillPreprocessQuery = ({query, params}) => {
115115
let q = messageQuery(query.message);
116116

117117
if (!q) {
118-
return;
118+
return Promise.resolve();
119119
}
120120

121121
log.d(`removing message ${JSON.stringify(query.message)} from queryObject`);

0 commit comments

Comments
 (0)