{"action":"created","issue":{"url":"https://api.github.com/repos/isaacs/node-glob/issues/233","repository_url":"https://api.github.com/repos/isaacs/node-glob","labels_url":"https://api.github.com/repos/isaacs/node-glob/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/isaacs/node-glob/issues/233/comments","events_url":"https://api.github.com/repos/isaacs/node-glob/issues/233/events","html_url":"https://github.com/isaacs/node-glob/issues/233","id":118318791,"number":233,"title":"** works differently on mac / linux","user":{"login":"Wandalen","id":7414255,"avatar_url":"https://avatars.githubusercontent.com/u/7414255?v=3","gravatar_id":"","url":"https://api.github.com/users/Wandalen","html_url":"https://github.com/Wandalen","followers_url":"https://api.github.com/users/Wandalen/followers","following_url":"https://api.github.com/users/Wandalen/following{/other_user}","gists_url":"https://api.github.com/users/Wandalen/gists{/gist_id}","starred_url":"https://api.github.com/users/Wandalen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wandalen/subscriptions","organizations_url":"https://api.github.com/users/Wandalen/orgs","repos_url":"https://api.github.com/users/Wandalen/repos","events_url":"https://api.github.com/users/Wandalen/events{/privacy}","received_events_url":"https://api.github.com/users/Wandalen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-23T04:29:52Z","updated_at":"2016-03-05T04:55:57Z","closed_at":null,"body":"Hello!\r\n\r\n** works differently on mac / linux.\r\n\r\non mac:\r\n```\r\n         /index/viewer/script/gl/amath/**/*.s -> index/viewer/script/gl/amath/common/AnyMatrix.s\r\n        index/viewer/script/gl/amath/common/AnyVector.s\r\n        index/viewer/script/gl/amath/entity/Box3.s\r\n        index/viewer/script/gl/amath/entity/Color.s\r\n        index/viewer/script/gl/amath/entity/Euler.s\r\n        index/viewer/script/gl/amath/entity/Face3.s\r\n        index/viewer/script/gl/amath/entity/Frustum.s\r\n        index/viewer/script/gl/amath/entity/Matrix3.s\r\n        index/viewer/script/gl/amath/entity/Matrix4.s\r\n        index/viewer/script/gl/amath/entity/Quaternion.s\r\n        index/viewer/script/gl/amath/entity/Sphere.s\r\n        index/viewer/script/gl/amath/entity/Vector3.s\r\n        index/viewer/script/gl/amath/Etc.s \r\n```\r\n\r\non linux:\r\n```\r\n  /index/viewer/script/gl/amath/**/*.s -> index/viewer/script/gl/amath/Etc.s\r\n  index/viewer/script/gl/amath/common/AnyMatrix.s\r\n  index/viewer/script/gl/amath/common/AnyVector.s\r\n  index/viewer/script/gl/amath/entity/Box3.s\r\n  index/viewer/script/gl/amath/entity/Color.s\r\n  index/viewer/script/gl/amath/entity/Euler.s\r\n  index/viewer/script/gl/amath/entity/Face3.s\r\n  index/viewer/script/gl/amath/entity/Frustum.s\r\n  index/viewer/script/gl/amath/entity/Matrix3.s\r\n  index/viewer/script/gl/amath/entity/Matrix4.s\r\n  index/viewer/script/gl/amath/entity/Quaternion.s\r\n  index/viewer/script/gl/amath/entity/Sphere.s\r\n  index/viewer/script/gl/amath/entity/Vector3.s \r\n```"},"comment":{"url":"https://api.github.com/repos/isaacs/node-glob/issues/comments/192570857","html_url":"https://github.com/isaacs/node-glob/issues/233#issuecomment-192570857","issue_url":"https://api.github.com/repos/isaacs/node-glob/issues/233","id":192570857,"user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T04:55:57Z","updated_at":"2016-03-05T04:55:57Z","body":"Yeah, I see the same results on both.\r\n\r\nMy only guess is that readdir is implemented differently on one of your systems, or you're using different versions of glob.  Try calling `result.sort()` if you need a consistent ordering."}}