Skip to content

Commit e00593d

Browse files
Fixed incorrect position argument in getHash function.
1 parent 3dc99d5 commit e00593d

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [1.1.1] - 2019-03-17
10+
11+
### Fixed
12+
- Incorrect position argument in getHash function.
13+
914
## [1.1.0] - 2019-03-16
1015

1116
### Added

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-cache-killer",
33
"description": "Kill your asset cache file problems by updating their filenames and any references to them.",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"homepage": "https://github.com/midnight-coding/grunt-cache-killer",
66
"author": {
77
"name": "Matthew Rath",

tasks/cacheKiller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = function (grunt) {
7979
var $bytesRead;
8080

8181
do {
82-
$bytesRead = fileSystem.readSync($fileDescriptor, $buffer, 0, $length, 0);
82+
$bytesRead = fileSystem.readSync($fileDescriptor, $buffer, 0, $length, null);
8383

8484
$hash.update($buffer.slice(0, $bytesRead));
8585
} while ($bytesRead === $length);

0 commit comments

Comments
 (0)