Skip to content

Commit a086d63

Browse files
committed
PS: Drive-by fix: Better toString on Cmd.
1 parent 7531d88 commit a086d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/ql/lib/semmle/code/powershell/Command.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ private predicate parseCommandName(Cmd cmd, string namespace, string name) {
1212
}
1313

1414
class Cmd extends @command, CmdBase {
15-
override string toString() { result = this.getQualifiedCommandName() }
15+
override string toString() { result = "call to " + this.getQualifiedCommandName() }
1616

1717
override SourceLocation getLocation() { command_location(this, result) }
1818

0 commit comments

Comments
 (0)