Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
refactor(migrate): use or operator over ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Oct 1, 2023
1 parent 77b7029 commit fb4ba45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function migrate() {
const result = await request.batch(query);

return {
rows: result.recordset ? result.recordset : result,
rows: result.recordset || result,
};
},
});
Expand Down

0 comments on commit fb4ba45

Please sign in to comment.