Skip to content

Commit

Permalink
Fix reference to global AWS object
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaManohar committed Feb 12, 2015
1 parent 01ff101 commit 68e0a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Expand Up @@ -501,7 +501,7 @@ var util = {

reader._continueReading();
} else {
if (AWS.util.isBrowser() && typeof data === 'object' && !isBuffer) {
if (util.isBrowser() && typeof data === 'object' && !isBuffer) {
data = new Buffer(new Uint8Array(data));
}
var out = hash.update(data).digest(digest);
Expand Down

0 comments on commit 68e0a46

Please sign in to comment.