constness

This commit is contained in:
Girish Ramakrishnan
2022-04-14 17:41:41 -05:00
parent 685bda35b9
commit 05d7a7f496
25 changed files with 75 additions and 77 deletions

View File

@@ -117,7 +117,7 @@ async function pullImage(manifest) {
// https://github.com/dotcloud/docker/issues/1074 says each status message
// is emitted as a chunk
stream.on('data', function (chunk) {
var data = safe.JSON.parse(chunk) || { };
const data = safe.JSON.parse(chunk) || { };
debug('pullImage: %j', data);
// The data.status here is useless because this is per layer as opposed to per image