From d5e5985c617cfea6bee3e59d0055729da7dbae71 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Tue, 25 Oct 2022 22:06:50 +0200 Subject: [PATCH] Last value wins (microsoft/vscode-remote-release#7390) --- src/spec-node/imageMetadata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec-node/imageMetadata.ts b/src/spec-node/imageMetadata.ts index ca03a9605..ba7a42908 100644 --- a/src/spec-node/imageMetadata.ts +++ b/src/spec-node/imageMetadata.ts @@ -143,7 +143,7 @@ export function mergeConfiguration(config: DevContainerConfig, imageMetadata: Im otherPortsAttributes: reversed.find(entry => entry.otherPortsAttributes)?.otherPortsAttributes, forwardPorts: mergeForwardPorts(imageMetadata), shutdownAction: reversed.find(entry => entry.shutdownAction)?.shutdownAction, - updateRemoteUserUID: reversed.find(entry => entry.updateRemoteUserUID)?.updateRemoteUserUID, + updateRemoteUserUID: reversed.find(entry => typeof entry.updateRemoteUserUID === 'boolean')?.updateRemoteUserUID, hostRequirements: mergeHostRequirements(imageMetadata), }; return merged;