From a086d63f3196b97ceec156c1d7d82fbc49ec031d Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 7 Nov 2024 12:47:58 +0000 Subject: [PATCH] PS: Drive-by fix: Better toString on Cmd. --- powershell/ql/lib/semmle/code/powershell/Command.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/ql/lib/semmle/code/powershell/Command.qll b/powershell/ql/lib/semmle/code/powershell/Command.qll index 4b00d7e1b97..76528163d42 100644 --- a/powershell/ql/lib/semmle/code/powershell/Command.qll +++ b/powershell/ql/lib/semmle/code/powershell/Command.qll @@ -12,7 +12,7 @@ private predicate parseCommandName(Cmd cmd, string namespace, string name) { } class Cmd extends @command, CmdBase { - override string toString() { result = this.getQualifiedCommandName() } + override string toString() { result = "call to " + this.getQualifiedCommandName() } override SourceLocation getLocation() { command_location(this, result) }