[Pkg-javascript-commits] [node-shasum] 02/23: fix miscapitalization

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:06:23 UTC 2017


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

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

commit 8cf4311eadb98f368f83fa7316f270ff1b74f0a5
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Thu Nov 1 11:34:45 2012 +0100

    fix miscapitalization
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 43b5412..a41388c 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,6 @@
 
 var createHash = require('crypto').createHash 
-var buffer = require('buffer').Buffer
+var Buffer = require('buffer').Buffer
 module.exports = function hash (str, alg, format) {
   str = 'string' === typeof str ? str
     : Buffer.isBuffer(str) ? str

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



More information about the Pkg-javascript-commits mailing list