Skip to content

Commit

Permalink
lib: Make debugging section separators the same length
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoltman committed Mar 13, 2017
1 parent b74dda6 commit 4d92886
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/PoolPlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function operationsSorter(a, b) {
/* istanbul ignore next - Ignore debugging */
function debugOperations(operations) {
console.log();
console.log('====== mysql-plus operations: ======');
console.log('============= mysql-plus operations: ==============');
const opTypes = require('./Operation').Types; // eslint-disable-line global-require
const opTypeNames = Object.keys(opTypes);
operations.forEach(operation => {
Expand All @@ -410,7 +410,7 @@ function debugOperations(operations) {
console.log('SQL:', operation.sql);
});
console.log();
console.log('====================================');
console.log('===================================================');
console.log();
}

Expand All @@ -424,7 +424,7 @@ function debugSyncErrorOperation(operation) {
console.error('type:', opTypeNames.find(typeName => opTypes[typeName] === operation.type));
console.error('SQL:', operation.sql);
console.error();
console.error('====================================');
console.error('===================================================');
console.error();
}

Expand Down

0 comments on commit 4d92886

Please sign in to comment.