{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/9","labels_url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/9/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/9/events","html_url":"https://github.com/DefinitelyTyped/grunt-tsd/issues/9","id":52930239,"number":9,"title":"grunt-tsd is updaing bundle file on reinstall","user":{"login":"giggio","id":334958,"avatar_url":"https://avatars.githubusercontent.com/u/334958?v=3","gravatar_id":"","url":"https://api.github.com/users/giggio","html_url":"https://github.com/giggio","followers_url":"https://api.github.com/users/giggio/followers","following_url":"https://api.github.com/users/giggio/following{/other_user}","gists_url":"https://api.github.com/users/giggio/gists{/gist_id}","starred_url":"https://api.github.com/users/giggio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giggio/subscriptions","organizations_url":"https://api.github.com/users/giggio/orgs","repos_url":"https://api.github.com/users/giggio/repos","events_url":"https://api.github.com/users/giggio/events{/privacy}","received_events_url":"https://api.github.com/users/giggio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-26T16:17:59Z","updated_at":"2015-04-14T14:29:03Z","closed_at":null,"body":"This is my grunt config for grunt-tsd:\r\n\r\n````javacript\r\n{\r\n        tsd: {\r\n            reinstall: {\r\n                options: {\r\n                    command: 'reinstall',\r\n                    latest: false,\r\n                    config: 'tsd.json'\r\n                }\r\n            }\r\n        }\r\n}\r\n````\r\n\r\nIt always changes my tsd.d.ts, which is really simple:\r\n\r\n````\r\n/// <reference path=\"tsd/jquery/jquery.d.ts\" />\r\n/// <reference path=\"tsd/winjs/winjs.d.ts\" />\r\n````\r\n\r\nIt changes it to:\r\n\r\n````\r\n/// <reference path=\"tsd/tsd/jquery/jquery.d.ts\" />\r\n/// <reference path=\"tsd/tsd/winjs/winjs.d.ts\" />\r\n/// <reference path=\"tsd/jquery/jquery.d.ts\" />\r\n/// <reference path=\"tsd/winjs/winjs.d.ts\" />\r\n````\r\n\r\nThe first two lines are invalid, they are a incorrect paths.\r\n\r\nIf I run `tsd reinstall` this does not happen.\r\n\r\nThis is my tsd.json:\r\n\r\n````json\r\n{\r\n  \"version\": \"v4\",\r\n  \"repo\": \"borisyankov/DefinitelyTyped\",\r\n  \"ref\": \"master\",\r\n  \"path\": \"wwwroot/ts/typings/tsd\",\r\n  \"bundle\": \"wwwroot/ts/typings/tsd.d.ts\",\r\n  \"installed\": {\r\n    \"winjs/winjs.d.ts\": {\r\n      \"commit\": \"0d595e843d872c24d8f45dd7df9c15404e6daff4\"\r\n    },\r\n    \"jquery/jquery.d.ts\": {\r\n      \"commit\": \"0d595e843d872c24d8f45dd7df9c15404e6daff4\"\r\n    }\r\n  }\r\n}\r\n````"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/comments/92875144","html_url":"https://github.com/DefinitelyTyped/grunt-tsd/issues/9#issuecomment-92875144","issue_url":"https://api.github.com/repos/DefinitelyTyped/grunt-tsd/issues/9","id":92875144,"user":{"login":"matthiasarn","id":10727514,"avatar_url":"https://avatars.githubusercontent.com/u/10727514?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasarn","html_url":"https://github.com/matthiasarn","followers_url":"https://api.github.com/users/matthiasarn/followers","following_url":"https://api.github.com/users/matthiasarn/following{/other_user}","gists_url":"https://api.github.com/users/matthiasarn/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasarn/subscriptions","organizations_url":"https://api.github.com/users/matthiasarn/orgs","repos_url":"https://api.github.com/users/matthiasarn/repos","events_url":"https://api.github.com/users/matthiasarn/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasarn/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T14:29:03Z","updated_at":"2015-04-14T14:29:03Z","body":"It seems that it is an issue of the tsd compiler itself and not from the grunt-tsd. I just used the following command inside the CLI: $ tsd update --save --overwrite and it turns out that the tsd compiler duplicates the path as well."}}