Skip to content

Commit

Permalink
eslint --fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Oct 31, 2018
1 parent 57e5314 commit 906d886
Show file tree
Hide file tree
Showing 2 changed files with 454 additions and 454 deletions.
20 changes: 10 additions & 10 deletions lib/unexpected-knex.js
Expand Up @@ -12,11 +12,11 @@ util.inherits(UnexpectedKnexMigrator, KnexMigrator);

UnexpectedKnexMigrator.prototype._listAll = function () {
return KnexMigrator.prototype._listAll.call(this, arguments)
.then(function (filenames) {
filenames = filenames || [];
var filenameIndex = filenames.indexOf(this.unexpectedKnexFilename);
return filenames.slice(0, filenameIndex + 1);
}.bind(this));
.then(function (filenames) {
filenames = filenames || [];
var filenameIndex = filenames.indexOf(this.unexpectedKnexFilename);
return filenames.slice(0, filenameIndex + 1);
}.bind(this));
};

function MigrationTest(knex, expect) {
Expand Down Expand Up @@ -83,9 +83,9 @@ function init(expect) {
},
inspect: function (value, depth, output, inspect) {
output.jsFunctionName('knex')
.text('(')
.appendInspected(value.client.config)
.text(')');
.text('(')
.appendInspected(value.client.config)
.text(')');
}
});

Expand Down Expand Up @@ -213,8 +213,8 @@ function init(expect) {
return expect.fail({
output: function (output) {
output.error(message)
.error(': ')
.appendErrorMessage(error);
.error(': ')
.appendErrorMessage(error);
},
originalError: error
});
Expand Down

0 comments on commit 906d886

Please sign in to comment.