Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Commit 5174590

Browse files
atilkanchristophehurpeau
authored andcommitted
fix: confusing variable naming (#107)
1 parent 441aa60 commit 5174590

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ The plugin has no native support for desktop notifications but it is easy
120120
to add them thanks to [node-notifier](https://www.npmjs.com/package/node-notifier) for instance.
121121

122122
```js
123-
var NotifierPlugin = require('friendly-errors-webpack-plugin');
123+
var FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin');
124124
var notifier = require('node-notifier');
125125
var ICON = path.join(__dirname, 'icon.png');
126126

127-
new NotifierPlugin({
127+
new FriendlyErrorsPlugin({
128128
onErrors: (severity, errors) => {
129129
if (severity !== 'error') {
130130
return;
@@ -138,7 +138,6 @@ new NotifierPlugin({
138138
});
139139
}
140140
})
141-
]
142141
```
143142

144143
## API

0 commit comments

Comments
 (0)