Skip to content

Commit

Permalink
process文档完善
Browse files Browse the repository at this point in the history
  • Loading branch information
chyingp committed Apr 14, 2018
1 parent 999cce9 commit 3b6a9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 模块/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ process.argv.forEach(function(val, index, array) {
});
```

运行命令 `node argv.js --env production`,输出如下。
运行命令 `NODE_ENV=dev node argv.js --env production`,输出如下。(不包含环境变量)

```bash
参数0: /Users/a/.nvm/versions/node/v6.1.0/bin/node
Expand Down

0 comments on commit 3b6a9e6

Please sign in to comment.