{"action":"closed","issue":{"url":"https://api.github.com/repos/exercism/cli/issues/152","labels_url":"https://api.github.com/repos/exercism/cli/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/exercism/cli/issues/152/comments","events_url":"https://api.github.com/repos/exercism/cli/issues/152/events","html_url":"https://github.com/exercism/cli/issues/152","id":54664807,"number":152,"title":"`$PWD` seems to impact later restore","user":{"login":"magthe","id":327270,"avatar_url":"https://avatars.githubusercontent.com/u/327270?v=3","gravatar_id":"","url":"https://api.github.com/users/magthe","html_url":"https://github.com/magthe","followers_url":"https://api.github.com/users/magthe/followers","following_url":"https://api.github.com/users/magthe/following{/other_user}","gists_url":"https://api.github.com/users/magthe/gists{/gist_id}","starred_url":"https://api.github.com/users/magthe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magthe/subscriptions","organizations_url":"https://api.github.com/users/magthe/orgs","repos_url":"https://api.github.com/users/magthe/repos","events_url":"https://api.github.com/users/magthe/events{/privacy}","received_events_url":"https://api.github.com/users/magthe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/exercism/cli/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/exercism/cli/milestones/2","html_url":"https://github.com/exercism/cli/milestones/v2.3.0","labels_url":"https://api.github.com/repos/exercism/cli/milestones/2/labels","id":1232149,"number":2,"title":"v2.3.0","description":"Next minor release of the CLI will include features added and bug fixes","creator":{"login":"Tonkpils","id":1507561,"avatar_url":"https://avatars.githubusercontent.com/u/1507561?v=3","gravatar_id":"","url":"https://api.github.com/users/Tonkpils","html_url":"https://github.com/Tonkpils","followers_url":"https://api.github.com/users/Tonkpils/followers","following_url":"https://api.github.com/users/Tonkpils/following{/other_user}","gists_url":"https://api.github.com/users/Tonkpils/gists{/gist_id}","starred_url":"https://api.github.com/users/Tonkpils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tonkpils/subscriptions","organizations_url":"https://api.github.com/users/Tonkpils/orgs","repos_url":"https://api.github.com/users/Tonkpils/repos","events_url":"https://api.github.com/users/Tonkpils/events{/privacy}","received_events_url":"https://api.github.com/users/Tonkpils/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":3,"state":"open","created_at":"2015-07-29T18:24:33Z","updated_at":"2015-11-27T20:21:28Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-01-17T15:30:26Z","updated_at":"2015-11-27T20:21:28Z","closed_at":"2015-11-27T20:21:28Z","body":"Sorry for the rather cryptic title; I was struggling with making it clearer, but just gave up.  Hopefully the following explanation clarifies what I mean.  I also don't know whether this is an issue with the client or with the server, so feel free to move it if it's in the wrong location.\r\n\r\n*Steps to reproduce*\r\n\r\n1. Fetch a new exercise: `exercism f haskell`\r\n2. Change directory and solve it:\r\n\r\n        % cd haskell/newest-exercise\r\n        % vim Module.hs\r\n        % runhaskell newest-exercise-test.hs\r\n        <rinse & repeat>\r\n\r\n3. Submit exercise: `exercism s Module.hs`\r\n4. Change back to the exercism folder: `cd ../..`\r\n5. Remove all your haskell solutions: `rm -fr haskell`\r\n6. Restore your haskell solutions: `exercism r haskell`\r\n\r\n*Expected result*\r\n\r\nI expected to find my solution in the place where I initially put it, i.e. `haskell/newest-exercise/Module.hs`.\r\n\r\n*Observed result*\r\n\r\nI find my solution in `haskell/newest-exercise/haskell/newest-exercise/Module.hs`."}}