Skip to content

Commit e044166

Browse files
author
simonepri
committed
Update readme
1 parent be983b7 commit e044166

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ $ npm install --save restify-errors-options-errno
1111

1212
## Usage
1313
```js
14-
require('restify-errors-options-errno').install();
14+
const restifyErrorOtionsErrno = require('restify-errors-options-errno');
1515
// Is extremely important to require restify-errors-options-errno before restify.
1616
const restify = require('restify');
1717

18+
restifyErrorOtionsErrno.install();
1819
var server = restify.createServer();
1920

2021
server.on('MethodNotAllowed', (req, res, err, cb) => {

0 commit comments

Comments
 (0)