unix-head-tail
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -39,2 +39,3 @@ // -*- compile-command: "node test.js"; -*- | ||
}) | ||
out[out.length - 1] = 10 | ||
} | ||
@@ -49,3 +50,3 @@ | ||
if (begByte > 0) begByte++ | ||
readFileRange(filePath, begByte, endByte - 1, (err, b) => { | ||
readFileRange(filePath, begByte, endByte, (err, b) => { | ||
cb(err, b) | ||
@@ -52,0 +53,0 @@ }) |
{ | ||
"name": "unix-head-tail", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -10,4 +10,4 @@ "main": "index.js", | ||
"repository": { | ||
"type" : "git", | ||
"url" : "https://github.com/gpryor/unix-head-tail.git" | ||
"type": "git", | ||
"url": "https://github.com/gpryor/unix-head-tail.git" | ||
}, | ||
@@ -14,0 +14,0 @@ "keywords": [], |
@@ -7,3 +7,3 @@ // -*- compile-command: "node test.js"; -*- | ||
var fn = 'test.txt' | ||
var gold = (n, m) => { return [0,1,2,3,4,5,6,7,9].slice(n, m+1).join('\n') } | ||
var gold = (n, m) => { return [0,1,2,3,4,5,6,7,9].slice(n, m+1).join('\n') + '\n' } | ||
var is = (a, b) => { return a.toString() == b.toString() } | ||
@@ -10,0 +10,0 @@ var check = (n, m, cb) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2923
70