Skip to content

Commit

Permalink
Update dependencies to enable Greenkeeper 🌴 (#97)
Browse files Browse the repository at this point in the history
* chore(package): update dependencies

https://greenkeeper.io/

* docs(readme): add Greenkeeper badge 

https://greenkeeper.io/

* Updates for latest Semistandard
  • Loading branch information
greenkeeper[bot] authored and daffl committed Apr 13, 2017
1 parent ad1dfae commit 86c8fe7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# feathers-knex

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/feathers-knex.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/feathers-knex.png?branch=master)](https://travis-ci.org/feathersjs/feathers-knex)
[![Code Climate](https://codeclimate.com/github/feathersjs/feathers-knex.png)](https://codeclimate.com/github/feathersjs/feathers-knex)
[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers-knex/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers-knex/coverage)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"knex": "^0.12.0",
"mocha": "^3.0.0",
"rimraf": "^2.5.4",
"semistandard": "^9.1.0",
"semistandard": "^10.0.0",
"sqlite3": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class Service {

update (id, data, params) {
if (Array.isArray(data)) {
return Promise.reject('Not replacing multiple records. Did you mean `patch`?');
return Promise.reject(errors.BadRequest('Not replacing multiple records. Did you mean `patch`?'));
}

// NOTE (EK): First fetch the old record so
Expand Down

0 comments on commit 86c8fe7

Please sign in to comment.