From 414cf4a86242b8e6d3afcff3c7e8facb3d2620ef Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Thu, 27 Oct 2022 16:13:37 -0400 Subject: [PATCH] refactor: use destructuring --- src/lambda/handler-runner/docker-runner/DockerContainer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lambda/handler-runner/docker-runner/DockerContainer.js b/src/lambda/handler-runner/docker-runner/DockerContainer.js index f42507149..03b4ab6f9 100644 --- a/src/lambda/handler-runner/docker-runner/DockerContainer.js +++ b/src/lambda/handler-runner/docker-runner/DockerContainer.js @@ -264,11 +264,9 @@ export default class DockerContainer { return } - const layerUrl = layer.Content.Location + const { CodeSize: layerSize, Location: layerUrl } = layer.Content // const layerSha = layer.Content.CodeSha256 - const layerSize = layer.Content.CodeSize - await ensureDir(layerDir) log.verbose(