Skip to content

Commit 6e18b76

Browse files
jonschlinkertphated
authored andcommitted
Update: Minor formatting changes
1 parent 779c322 commit 6e18b76

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

index.js

+3-24
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,9 @@ var union = require('arr-union');
1616
* See: https://github.com/wearefractal/gulp-util
1717
*/
1818

19-
var nonEnum = [
20-
'message',
21-
'name',
22-
'stack'
23-
];
24-
25-
var ignored = union(nonEnum, [
26-
'__safety',
27-
'_stack',
28-
'plugin',
29-
'showProperties',
30-
'showStack'
31-
]);
32-
33-
var props = [
34-
'fileName',
35-
'lineNumber',
36-
'message',
37-
'name',
38-
'plugin',
39-
'showProperties',
40-
'showStack',
41-
'stack'
42-
];
19+
var nonEnum = ['message', 'name', 'stack'];
20+
var ignored = union(nonEnum, ['__safety', '_stack', 'plugin', 'showProperties', 'showStack']);
21+
var props = ['fileName', 'lineNumber', 'message', 'name', 'plugin', 'showProperties', 'showStack', 'stack'];
4322

4423
function PluginError(plugin, message, options) {
4524
if (!(this instanceof PluginError)) {

0 commit comments

Comments
 (0)