md5-file
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,3 +5,3 @@ # License | ||
Copyright (c) 2014 Rory J. Bradford. | ||
Copyright (c) 2015 Rory Bradford. | ||
@@ -8,0 +8,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
@@ -6,5 +6,7 @@ { | ||
"index.js", | ||
"test.js" | ||
"test.js", | ||
"LICENSE.md", | ||
"README.md" | ||
], | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "return an md5sum of a given file", | ||
@@ -11,0 +13,0 @@ "keywords": [ |
@@ -6,3 +6,3 @@ 'use strict' | ||
var filename = 'LICENSE.md' | ||
var preCheckedSum = '79069e31e6722533f772a4ca5de984e4' | ||
var preCheckedSum = 'a06f55ab67333b93e8edebff0ae86027' | ||
@@ -21,1 +21,8 @@ md5File(filename, function (error, sum) { | ||
console.log('Pass 1/2') | ||
// errors | ||
md5File('does not exist', function (error, sum) { | ||
assert(error) | ||
assert(!sum) | ||
}) |
3979
45