{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9051","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9051/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9051/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9051/events","html_url":"https://github.com/Microsoft/TypeScript/issues/9051","id":159390845,"number":9051,"title":"erratic output structure if one of the folder is empty","user":{"login":"thakurarun","id":5906747,"avatar_url":"https://avatars.githubusercontent.com/u/5906747?v=3","gravatar_id":"","url":"https://api.github.com/users/thakurarun","html_url":"https://github.com/thakurarun","followers_url":"https://api.github.com/users/thakurarun/followers","following_url":"https://api.github.com/users/thakurarun/following{/other_user}","gists_url":"https://api.github.com/users/thakurarun/gists{/gist_id}","starred_url":"https://api.github.com/users/thakurarun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thakurarun/subscriptions","organizations_url":"https://api.github.com/users/thakurarun/orgs","repos_url":"https://api.github.com/users/thakurarun/repos","events_url":"https://api.github.com/users/thakurarun/events{/privacy}","received_events_url":"https://api.github.com/users/thakurarun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-09T11:59:42Z","updated_at":"2016-06-09T11:59:42Z","closed_at":null,"body":"<!--\r\nThank you for contributing to TypeScript! Please review this checklist\r\n       before submitting your issue.\r\n[ ] Many common issues and suggestions are addressed in the FAQ\r\n     https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n[ ] Search for duplicates before logging new issues\r\n    https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue\r\n[ ] Questions are best asked and answered at Stack Overflow\r\n    http://stackoverflow.com/questions/tagged/typescript\r\n\r\nFor bug reports, please include the information below.\r\n__________________________________________________________ -->\r\n\r\n**TypeScript Version:** \r\n\r\n1.8.10 \r\n\r\n**Code**\r\n\r\n```ts\r\n// A self-contained demonstration of the problem follows...\r\n\r\nTool: VS Code\r\nI have two folders under src folder like\r\n\r\n-src\r\n --ClientTypings **//empty folder**\r\n --ServerTypings\r\n  ---Repositories\r\n   ----classs1.ts\r\n   ----classs2.ts\r\n  ---Routes\r\n   ----route1.ts\r\n   ----route2.ts\r\n\r\ntsconfig.json\r\n{\r\n  \"compilerOptions\": {\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"module\": \"commonjs\",\r\n    \"noEmitOnError\": true,\r\n    \"noImplicitAny\": false,\r\n    \"outDir\": \"app/src\",\r\n    \"removeComments\": false,\r\n    \"sourceMap\": true,\r\n    \"target\": \"es6\",\r\n    \"watch\": true,\r\n    \"allowJs\": false\r\n  },\r\n  \"exclude\": [\r\n    \"node_modules\"\r\n  ]\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\noutput directory should be\r\n\r\n-app\r\n --src\r\n ---ServerTypings\r\n  ----Repositories\r\n    -----classs1.js\r\n    -----classs2.js\r\n   ----Routes\r\n    -----route1.js\r\n    -----route2.js\r\n\r\nClientTypings can be skipped as it is empty folder\r\n\r\n**Actual behavior:** \r\n\r\nin output directory **\"ServerTypings\"** is not considered, which make erratic levels of code files.\r\n\r\n-app\r\n --src\r\n  ---Repositories\r\n    ----classs1.js\r\n    ----classs2.js\r\n   ---Routes\r\n    ----route1.js\r\n    ----route2.js\r\n\r\n"}}
{"actor":{"display_login":"thakurarun"}}