Skip to content

Commit

Permalink
refactor: use destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Oct 27, 2022
1 parent 8f40327 commit 414cf4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lambda/handler-runner/docker-runner/DockerContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 414cf4a

Please sign in to comment.