@@ -87,7 +87,7 @@ grunt.registerHelper( "read-order", function( orderFile ) {
87
87
grunt . registerHelper ( "contributor-attribution" , function ( post , fileName , fn ) {
88
88
var contribs = [ ] ,
89
89
_ = grunt . utils . _ ,
90
- parseRE = / ^ ( .* ) < ( .* ) > $ / ; // could certainly be better.
90
+ parseRE = / ^ ( .* ) < ( .* ) > $ / ; // could certainly be better.
91
91
92
92
// Read contributors from git file information
93
93
grunt . utils . spawn ( {
@@ -107,7 +107,7 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
107
107
}
108
108
// make unique.
109
109
contribs = _ . uniq ( result . stdout . split ( / \r ? \n / g ) ) ;
110
-
110
+
111
111
// make object { name: 'name', email: 'email@address.com' }
112
112
contribs . forEach ( function ( str , idx ) {
113
113
var m = parseRE . exec ( str ) ;
@@ -125,7 +125,7 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
125
125
} ) ;
126
126
127
127
// Handle "legacy" content - content authored outside of the learn site
128
- // and attributed with metadata in the file,
128
+ // and attributed with metadata in the file,
129
129
// push those contributors to the front of the list
130
130
if ( post . attribution ) {
131
131
post . attribution . forEach ( function ( str , idx ) {
@@ -160,7 +160,6 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
160
160
key : "contributors" ,
161
161
value : JSON . stringify ( contribs )
162
162
} ) ;
163
-
164
163
} else {
165
164
post . customFields = [ {
166
165
key : "contributors" ,
0 commit comments