prakhar1989 / dive-in

A docker extension to help you explore a docker image and discover ways to shrink the size
37 stars 11 forks source link

Use TS-optional chaining to fix access error #7

Closed reithma closed 1 year ago

reithma commented 1 year ago

Fixes #6

The proposed change uses TypeScript's optional chaining mechanism to only check for inclusion of DRIVE_DOCKER_IMAGE when RepoTags[0] is not undefined. This should remove the error users have when there's an Image without tags.

murlakatam commented 1 year ago

@prakhar1989 please merge.