Skip to content

Commit 1840e5c

Browse files
committed
Build: Whitespace
1 parent 2f43edf commit 1840e5c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

grunt.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ grunt.registerHelper( "read-order", function( orderFile ) {
8787
grunt.registerHelper( "contributor-attribution", function( post, fileName, fn ) {
8888
var contribs = [],
8989
_ = grunt.utils._,
90-
parseRE = /^(.*)<(.*)>$/; // could certainly be better.
90+
parseRE = /^(.*)<(.*)>$/; // could certainly be better.
9191

9292
// Read contributors from git file information
9393
grunt.utils.spawn({
@@ -107,7 +107,7 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
107107
}
108108
// make unique.
109109
contribs = _.uniq( result.stdout.split( /\r?\n/g ) );
110-
110+
111111
// make object { name: 'name', email: 'email@address.com' }
112112
contribs.forEach(function(str, idx) {
113113
var m = parseRE.exec(str);
@@ -125,7 +125,7 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
125125
});
126126

127127
// 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,
129129
// push those contributors to the front of the list
130130
if ( post.attribution ) {
131131
post.attribution.forEach(function(str, idx) {
@@ -160,7 +160,6 @@ grunt.registerHelper( "contributor-attribution", function( post, fileName, fn )
160160
key: "contributors",
161161
value: JSON.stringify( contribs )
162162
});
163-
164163
} else {
165164
post.customFields = [{
166165
key: "contributors",

0 commit comments

Comments
 (0)