{"action":"closed","issue":{"url":"https://api.github.com/repos/CestDiego/nand2tetris.el/issues/9","repository_url":"https://api.github.com/repos/CestDiego/nand2tetris.el","labels_url":"https://api.github.com/repos/CestDiego/nand2tetris.el/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/CestDiego/nand2tetris.el/issues/9/comments","events_url":"https://api.github.com/repos/CestDiego/nand2tetris.el/issues/9/events","html_url":"https://github.com/CestDiego/nand2tetris.el/issues/9","id":278128974,"number":9,"title":"tests-current-hdl-elsewhere uses hdl files that the function was previously run on","user":{"login":"davidshepherd7","id":795860,"avatar_url":"https://avatars3.githubusercontent.com/u/795860?v=4","gravatar_id":"","url":"https://api.github.com/users/davidshepherd7","html_url":"https://github.com/davidshepherd7","followers_url":"https://api.github.com/users/davidshepherd7/followers","following_url":"https://api.github.com/users/davidshepherd7/following{/other_user}","gists_url":"https://api.github.com/users/davidshepherd7/gists{/gist_id}","starred_url":"https://api.github.com/users/davidshepherd7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidshepherd7/subscriptions","organizations_url":"https://api.github.com/users/davidshepherd7/orgs","repos_url":"https://api.github.com/users/davidshepherd7/repos","events_url":"https://api.github.com/users/davidshepherd7/events{/privacy}","received_events_url":"https://api.github.com/users/davidshepherd7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-30T13:58:55Z","updated_at":"2017-12-01T18:13:42Z","closed_at":"2017-12-01T18:13:42Z","author_association":"NONE","body":"Every time this function runs it copies the target files to `/tmp` and runs the hardware simulator there. But this means that any files that were previously copied there are still hanging around for future test runs. So the hardware simulator tries to use them instead of the builtin chips.\r\n\r\nA simple fix would be to generate a new temp directory each time with `(make-temp-file \"nand2tetris\" t)`. As a side benefit this would also be more portable: `/tmp` isn't always the correct temp directory.\r\n\r\nIt's not really bothering me (I think I'll use `tests-current-hdl` anyway from now on so that I can see the outputs), but I thought you would like to know. \r\n\r\nThanks for the nice package :+1:."}}
{"actor":{"display_login":"CestDiego"}}