Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharHD committed Jun 23, 2020
1 parent 2ce6722 commit caa0661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dialects/mssql/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ class Query extends AbstractQuery {
if (this.isBulkUpdateQuery()) {
if (this.options.returning)
return this.handleSelectQuery(data);
else
return data.length;

return data.length;
}
if (this.isBulkDeleteQuery()) {
return data[0] && data[0].AFFECTEDROWS;
Expand Down

0 comments on commit caa0661

Please sign in to comment.