Skip to content

Commit

Permalink
Update module name passed to debug so that it matches both the instru…
Browse files Browse the repository at this point in the history
…ctions in the README and the project name.
  • Loading branch information
mschaef-da authored and naz committed Dec 3, 2018
1 parent 652d0b8 commit 0e0c0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ return server.listen(3000);
```

## Debugging
To see debug output use `DEBUG=swagger-express-validator` as an environmental varialbe when starting
To see debug output use `DEBUG=swagger-express-validator` as an environmental variable when starting
your project, eg.: `DEBUG=swagger-express-validator node server.js`. To gain more insights
on how this works see documentation of [debug](https://github.com/visionmedia/debug) library

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const _ = require('lodash');
const debug = require('debug')('swagger-validator');
const debug = require('debug')('swagger-express-validator');
const Ajv = require('ajv');
const util = require('util');
const parseUrl = require('url').parse;
Expand Down

0 comments on commit 0e0c0d3

Please sign in to comment.