Skip to content

Commit d28dfec

Browse files
committed
ScriptUtils: Use the correct method to track object parents
1 parent ecde06d commit d28dfec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/base/scriptutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ String ScriptUtils::MsiGetComponentPathShim(const String& component)
520520

521521
Array::Ptr ScriptUtils::TrackParents(const Object::Ptr& child)
522522
{
523-
return Array::FromVector(DependencyGraph::GetChildren(child));
523+
return Array::FromVector(DependencyGraph::GetParents(child));
524524
}
525525

526526
double ScriptUtils::Ptr(const Object::Ptr& object)

0 commit comments

Comments
 (0)