webpack-build-notifier
Advanced tools
Comparing version 0.1.26 to 0.1.27
@@ -214,3 +214,3 @@ /** | ||
title += 'Error'; | ||
msg = this.messageFormatter(error, error.module && error.module.rawRequest ? error.module.rawRequest : ''); | ||
msg = error ? this.messageFormatter(error, error.module && error.module.rawRequest ? error.module.rawRequest : '') : 'Unknown'; | ||
icon = this.failureIcon; | ||
@@ -223,3 +223,3 @@ sound = this.failureSound; | ||
title += 'Warning'; | ||
msg = this.messageFormatter(warning, warning.module && warning.module.rawRequest ? warning.module.rawRequest : ''); | ||
msg = warning ? this.messageFormatter(warning, warning.module && warning.module.rawRequest ? warning.module.rawRequest : '') : 'Unknown'; | ||
icon = this.warningIcon; | ||
@@ -226,0 +226,0 @@ sound = this.warningSound; |
{ | ||
"name": "webpack-build-notifier", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -121,2 +121,7 @@ # webpack-build-notifier | ||
--------- | ||
#### 0.1.27 | ||
###### _June 1, 2018_ | ||
- Check that error/warning is not null before formatting it. | ||
#### 0.1.26 | ||
@@ -123,0 +128,0 @@ ###### _May 31, 2018_ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101034
229