Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
fix variable name typo on undefined check
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Oct 16, 2020
1 parent 6c3f957 commit 61b8203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function listDatabases(server, database, filter) {
async function getQuerySelectTop(server, database, table, schema, limit) {
checkIsConnected(server, database);
let limitValue = limit;
if (typeof _limit === 'undefined') {
if (typeof limit === 'undefined') {
await loadConfigLimit();
limitValue = typeof limitSelect !== 'undefined' ? limitSelect : DEFAULT_LIMIT;
}
Expand Down

0 comments on commit 61b8203

Please sign in to comment.