mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Make also dap respect 'no-useless-assignment'
Forgotten in #8163 due to rebase.
This commit is contained in:
@@ -336,7 +336,7 @@ class InspectorManager extends Plugin {
|
||||
for (const varName of varReference.values)
|
||||
{
|
||||
this.logger.debug(`Expanding variable: ${varName}`);
|
||||
let value = null;
|
||||
let value;
|
||||
if (varReference.jsObject)
|
||||
value = varReference.jsObject.getOwnPropertyDescriptor(varName)?.value;
|
||||
else if (varName === 'this' && frame.this instanceof Debugger.Object)
|
||||
|
||||
Reference in New Issue
Block a user