{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/940","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/940/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/940/events","html_url":"https://github.com/fastlane/fastlane/issues/940","id":119847289,"number":940,"title":"[Feature request] Ability to expand path in ensure_no_debug_code","user":{"login":"NachoSoto","id":685609,"avatar_url":"https://avatars.githubusercontent.com/u/685609?v=3","gravatar_id":"","url":"https://api.github.com/users/NachoSoto","html_url":"https://github.com/NachoSoto","followers_url":"https://api.github.com/users/NachoSoto/followers","following_url":"https://api.github.com/users/NachoSoto/following{/other_user}","gists_url":"https://api.github.com/users/NachoSoto/gists{/gist_id}","starred_url":"https://api.github.com/users/NachoSoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NachoSoto/subscriptions","organizations_url":"https://api.github.com/users/NachoSoto/orgs","repos_url":"https://api.github.com/users/NachoSoto/repos","events_url":"https://api.github.com/users/NachoSoto/events{/privacy}","received_events_url":"https://api.github.com/users/NachoSoto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T01:32:04Z","updated_at":"2015-12-02T17:04:31Z","closed_at":null,"body":"I was trying to do this:\r\n```ruby\r\nensure_no_debug_code(\r\n            text: \"fcontext(\",\r\n            extension: \".swift\",\r\n            path: path\r\n)\r\n```\r\nwhere `path` is\r\n```\r\n\"{Framework1Tests,Framework2Tests,Framework3Tests}\"\r\n```\r\nso that it can match the different folders containing the tests for all my frameworks. Unfortunately this fails right now:\r\n```\r\nCouldn't find the folder at '.../project/{Framework1Tests,Framework2Tests,Framework3Tests}'\r\n```\r\n\r\nI think because it's currently [checking if the path exists](https://github.com/fastlane/fastlane/blob/master/lib/fastlane/actions/ensure_no_debug_code.rb#L57) without expanding it first.\r\n\r\nAm I missing an alternate way of doing this? Alternatively `path` could also take an array of paths."},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/161365726","html_url":"https://github.com/fastlane/fastlane/issues/940#issuecomment-161365726","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/940","id":161365726,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T17:04:31Z","updated_at":"2015-12-02T17:04:31Z","body":"Does it work if you do \r\n```ruby\r\n[\"Framework1Tests\", \"Framework2Tests\"].each do |path|\r\n  ensure_no_debug_code(\r\n            text: \"fcontext(\",\r\n            extension: \".swift\",\r\n            path: path\r\n  )\r\nend\r\n```\r\n\r\nJust curios if the problem is the check because you pass multiple values using  `{}`"}}