Skip to content

Commit

Permalink
chore: change DEBUG namespace to loopback:mixin:readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kirkpatrick committed Apr 26, 2017
1 parent 67d6327 commit 2f9e098
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -138,5 +138,5 @@ Run the tests in `test.js`
Run with debugging output on:

```bash
DEBUG='loopback-ds-readonly-mixin' npm test
DEBUG='loopback:mixin:readonly' npm test
```
2 changes: 1 addition & 1 deletion lib/read-only.js
@@ -1,4 +1,4 @@
const debug = require('debug')('loopback-ds-readonly-mixin')
const debug = require('debug')('loopback:mixin:readonly')

module.exports = Model => {
'use strict'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,7 @@
"test"
],
"scripts": {
"dev": "DEBUG=*:ping NODE_ENV=development nodemon test/fixtures/simple-app/server/server.js --watch ./lib --watch ./test --ignore db.json --ext js,json",
"dev": "DEBUG=loopback:mixin:readonly NODE_ENV=development nodemon test/fixtures/simple-app/server/server.js --watch ./lib --watch ./test --ignore db.json --ext js,json",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/*test.js",
Expand Down

0 comments on commit 2f9e098

Please sign in to comment.