Skip to content

Commit

Permalink
ScriptUtils: Use the correct method to track object parents
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Dec 12, 2024
1 parent ecde06d commit d28dfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base/scriptutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ String ScriptUtils::MsiGetComponentPathShim(const String& component)

Array::Ptr ScriptUtils::TrackParents(const Object::Ptr& child)
{
return Array::FromVector(DependencyGraph::GetChildren(child));
return Array::FromVector(DependencyGraph::GetParents(child));
}

double ScriptUtils::Ptr(const Object::Ptr& object)
Expand Down

0 comments on commit d28dfec

Please sign in to comment.