mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 00:57:28 +00:00
Remove absolute paths
This commit is contained in:
+3
-2
@@ -17,6 +17,7 @@ function unbzip2Stream() {
|
||||
if(!blockSize){
|
||||
blockSize = bz2.header(bitReader);
|
||||
//console.error("got header of", blockSize);
|
||||
streamCRC = 0;
|
||||
return true;
|
||||
}else{
|
||||
var bufsize = 100000 * blockSize;
|
||||
@@ -78,12 +79,12 @@ function unbzip2Stream() {
|
||||
},
|
||||
function end(x) {
|
||||
//console.error(x,'last compressing with', hasBytes, 'bytes in buffer');
|
||||
while (!broken && hasBytes > bitReader.bytesRead){
|
||||
while (!broken && bitReader && hasBytes > bitReader.bytesRead){
|
||||
decompressAndQueue(this);
|
||||
}
|
||||
if (!broken) {
|
||||
if (streamCRC !== null)
|
||||
stream.emit('error', new Error("input stream ended prematurely"));
|
||||
this.emit('error', new Error("input stream ended prematurely"));
|
||||
this.queue(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user