Skip to content

Commit cde67b6

Browse files
authored
[lldb-dap] fix config value comparison (#142017)
Fix TypeSCript comparison (when defining an empty config string like `commandEscapePrefix=""` it would skip it)
1 parent 9af5e06 commit cde67b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/src-ts/debug-configuration-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class LLDBDapConfigurationProvider
8484
continue;
8585
}
8686
const value = config.get(key);
87-
if (!value || value === cfg.default) {
87+
if (value === undefined || value === cfg.default) {
8888
continue;
8989
}
9090
switch (cfg.type) {

0 commit comments

Comments
 (0)