Skip to content
Snippets Groups Projects
Commit 0f8b2bf6 authored by Stanley Goldman's avatar Stanley Goldman Committed by GitHub
Browse files

Merge pull request #268 from github-for-unity/fixes/257-more-meta-child-parsing

More sturdy fix for #257
parents 201e18e0 ddc5bafe
No related branches found
Tags v0.19-alpha
No related merge requests found
......@@ -123,7 +123,7 @@ namespace GitHub.Unity
{
var parentLabel = node.Label;
var childLabel = node.Children.First().Label;
isFolderForMeta = childLabel.EndsWith(".meta");
isFolderForMeta = childLabel.StartsWith(parentLabel) && childLabel.EndsWith(".meta");
}
GUILayout.BeginHorizontal();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment