如何防止自耕农发送匿名统计信息? [英] How to prevent yeoman from sending anonymous statistics?

查看:32
本文介绍了如何防止自耕农发送匿名统计信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当出现关于是否发送匿名信息的消息时,我不小心按了默认为是"的回车键.现在每次我重新安装/完全删除然后安装 node/yo 或执行 yo 命令时,它不再询问.是否有一些文件或设置隐藏在我可以手动更改的文件系统中,这样我就不会向 yeoman 发送匿名使用统计信息?有配置文件或设置吗?知道我的使用统计数据可能会被发送而我不希望它...

When the message came up about whether to send anonymous information, I accidentally hit the enter key defaulting to "yes". Now everytime I reinstall/fully remove then install node/yo or execute the yo command, it no longer asks. Is there some file or setting that is hidden in the filesystem that I can manually change such that I do not send anonymous usage statistics to yeoman? is there a configuration file or setting? It is unsettling to know that my usage statistics may be sent while I do not want it to...

推荐答案

optOut 选项保存在 insight-yo.yml 中,应该在 ~\.config\configstore

The optOut option is kept in insight-yo.yml, which should be in ~\.config\configstore

只需将 false 值更新为 true 即可.

Just update the false value to true and you should be done.

或者,如果您删除该文件,您将再次看到该选项,您可以在那里手动回答否".

Alternatively, if you delete that file, you'll be presented with the option again and you can answer No manually there.

这篇关于如何防止自耕农发送匿名统计信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆