Skip to content

Commit

Permalink
Merge pull request #268 from github-for-unity/fixes/257-more-meta-chi…
Browse files Browse the repository at this point in the history
…ld-parsing

More sturdy fix for #257
  • Loading branch information
StanleyGoldman authored Sep 1, 2017
2 parents 201e18e + ddc5baf commit 0f8b2bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private void TreeNode(FileTreeNode node)
{
var parentLabel = node.Label;
var childLabel = node.Children.First().Label;
isFolderForMeta = childLabel.EndsWith(".meta");
isFolderForMeta = childLabel.StartsWith(parentLabel) && childLabel.EndsWith(".meta");
}

GUILayout.BeginHorizontal();
Expand Down

0 comments on commit 0f8b2bf

Please sign in to comment.