Skip to content

Commit d7204ca

Browse files
Fix validation in remote attach (#19224)
1 parent d4eb80f commit d7204ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/debugger/extension/configuration/providers/remoteAttach.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class RemoteAttachDebugConfigurationProvider implements IDebugConfigurati
4747
prompt: DebugConfigStrings.attach.enterRemoteHost.prompt,
4848
validate: (value) =>
4949
Promise.resolve(
50-
value && value.trim.length > 0 ? undefined : DebugConfigStrings.attach.enterRemoteHost.invalid,
50+
value && value.trim().length > 0 ? undefined : DebugConfigStrings.attach.enterRemoteHost.invalid,
5151
),
5252
});
5353
if (!connect.host) {

0 commit comments

Comments
 (0)