[Pkg-javascript-commits] [node-deps-sort] 11/79: fuck whitespace diffs

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:41:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-deps-sort.

commit a14e05cbaa2df00744d1111d19bf914f88fc7e58
Author: James Halliday <mail at substack.net>
Date:   Fri May 9 23:54:03 2014 -0700

    fuck whitespace diffs
---
 index.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/index.js b/index.js
index ca07777..d010717 100644
--- a/index.js
+++ b/index.js
@@ -2,16 +2,16 @@ var through = require('through');
 
 module.exports = function (opts) {
     if (!opts) opts = {};
-
+    
     var rows = [];
     return through(write, end);
-
+    
     function write (row) { rows.push(row) }
-
+    
     function end () {
         var tr = this;
         rows.sort(cmp);
-
+        
         if (opts.index) {
             var index = {};
             rows.forEach(function (row, ix) {
@@ -33,7 +33,7 @@ module.exports = function (opts) {
         }
         tr.queue(null);
     }
-
+    
     function cmp (a, b) {
         return a.id + a.hash < b.id + b.hash ? -1 : 1;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-deps-sort.git



More information about the Pkg-javascript-commits mailing list