Fix tar-gz reading of Dockerfiles

- Fixes TAR to actually use data
- Fixes buffers for Gunzip to be a proper ArrayBufferView

Fixes #1832
This commit is contained in:
Joseph Schorr 2016-09-13 11:34:35 -04:00
parent 640925e47c
commit 5e94f97a42
2 changed files with 4 additions and 5 deletions

View file

@ -371,7 +371,7 @@ if (!Array.prototype.some) {
* @param data The data, in Uint8Array form.
*/
function Untar(data) {
this.data = [];
this.data = data;
}
Untar.prototype.process = function(cb, opt_filter) {