{"action":"closed","issue":{"url":"https://api.github.com/repos/ThaddeusJiang/Weekly/issues/31","repository_url":"https://api.github.com/repos/ThaddeusJiang/Weekly","labels_url":"https://api.github.com/repos/ThaddeusJiang/Weekly/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/ThaddeusJiang/Weekly/issues/31/comments","events_url":"https://api.github.com/repos/ThaddeusJiang/Weekly/issues/31/events","html_url":"https://github.com/ThaddeusJiang/Weekly/issues/31","id":302594242,"number":31,"title":"记一次 node 环境变量读取失败","user":{"login":"ThaddeusJiang","id":17308201,"avatar_url":"https://avatars3.githubusercontent.com/u/17308201?v=4","gravatar_id":"","url":"https://api.github.com/users/ThaddeusJiang","html_url":"https://github.com/ThaddeusJiang","followers_url":"https://api.github.com/users/ThaddeusJiang/followers","following_url":"https://api.github.com/users/ThaddeusJiang/following{/other_user}","gists_url":"https://api.github.com/users/ThaddeusJiang/gists{/gist_id}","starred_url":"https://api.github.com/users/ThaddeusJiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThaddeusJiang/subscriptions","organizations_url":"https://api.github.com/users/ThaddeusJiang/orgs","repos_url":"https://api.github.com/users/ThaddeusJiang/repos","events_url":"https://api.github.com/users/ThaddeusJiang/events{/privacy}","received_events_url":"https://api.github.com/users/ThaddeusJiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T07:40:15Z","updated_at":"2018-03-10T13:42:30Z","closed_at":"2018-03-10T13:42:30Z","author_association":"OWNER","body":"```\r\n// ok\r\nhost=xxx yarn start\r\n// ng\r\nhost=xxx && yarn start\r\n```\r\n\r\n当使用 `&&` 分隔时，其实是两条命令。\r\n要想使用 `&&` 分隔，环境变量要export。\r\n```\r\nexport host=xxx && yarn start\r\n``` \r\n\r\n> 自己脑残了，😂\r\n\r\n"}}
{"actor":{"display_login":"ThaddeusJiang"}}