Skip to content

Commit

Permalink
removed custom function limitation
Browse files Browse the repository at this point in the history
- for whatever reason, only custom functions were allowed to be given PackageName
- removed this limitation
  • Loading branch information
dnenov committed Oct 9, 2024
1 parent 8a16af9 commit 26aaed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoCore/Graph/Nodes/NodeModelExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ internal static string GetOriginalName(this NodeModel node)
internal static string GetPackageName(this NodeModel node, Workspaces.PackageInfo packageInfo)
{
// Only return package name if the node comes from a package
if (node == null || !node.IsCustomFunction || packageInfo == null) return string.Empty;
if (node == null || packageInfo == null) return string.Empty;

return packageInfo?.Name;
}
Expand Down

0 comments on commit 26aaed8

Please sign in to comment.