Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
lizheming committed Nov 11, 2017
1 parent 2a1362c commit 112fc63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Mysql = require('think-mysql');
module.exports = class MysqlQuery extends Query {
/**
* get socket
* @param {String|Object} sql
* @param {String|Object} sql
*/
socket(sql) {
return super.socket(sql, Mysql);
Expand Down
6 changes: 3 additions & 3 deletions lib/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = class MysqlSchema extends Schema {
}
/**
* get table schema
* @param {String} table
* @param {String} table
*/
getSchema(table = this.table) {
if (SCHEMAS[table]) return Promise.resolve(SCHEMAS[table]);
Expand Down Expand Up @@ -79,8 +79,8 @@ module.exports = class MysqlSchema extends Schema {
}
/**
* parse type
* @param {String} tinyType
* @param {Mixed} value
* @param {String} tinyType
* @param {Mixed} value
*/
parseType(tinyType, value) {
if (tinyType === 'enum' || tinyType === 'set' || tinyType === 'bigint') return value;
Expand Down

0 comments on commit 112fc63

Please sign in to comment.