File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ var rightPad = require('right-pad');
8
8
// This can be any kind of SystemJS compatible module.
9
9
// We use Commonjs here, but ES6 or AMD would do just
10
10
// fine.
11
- exports [ 'default' ] = function ( options ) {
11
+ module . exports = function ( options ) {
12
12
13
13
var types = options . types ;
14
14
@@ -92,5 +92,3 @@ exports['default'] = function (options) {
92
92
}
93
93
} ;
94
94
} ;
95
-
96
- module . exports = exports ;
Original file line number Diff line number Diff line change 3
3
var engine = require ( './engine' ) ;
4
4
var conventionalCommitTypes = require ( 'conventional-commit-types' ) ;
5
5
6
- module . exports = engine ( {
6
+ var engineInstance = engine ( {
7
7
types : conventionalCommitTypes . types
8
8
} ) ;
9
+
10
+ var _extends = function ( target ) {
11
+ for ( var i = 1 ; i < arguments . length ; i ++ ) {
12
+ var source = arguments [ i ] ;
13
+ for ( var key in source ) {
14
+ target [ key ] = source [ key ] ;
15
+ }
16
+ }
17
+
18
+ return target ;
19
+ } ;
20
+
21
+ exports [ 'default' ] = engineInstance ;
22
+
23
+ module . exports = _extends ( exports [ 'default' ] , exports ) ;
You can’t perform that action at this time.
0 commit comments