We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82de94c commit 43a89e8Copy full SHA for 43a89e8
lib/index.js
@@ -90,7 +90,11 @@ var WebpackShellPlugin = function () {
90
createClass(WebpackShellPlugin, [{
91
key: 'puts',
92
value: function puts(error) {
93
- if (error && !this.options.swallowError) {
+ if (error) {
94
+ if (this.options.swallowError) {
95
+ console.log(error.message);
96
+ return;
97
+ }
98
throw error;
99
}
100
src/webpack-shell-plugin.js
@@ -18,7 +18,11 @@ export default class WebpackShellPlugin {
18
19
20
puts(error) {
21
22
23
24
25
26
27
28
0 commit comments