Skip to content

Commit

Permalink
错别字
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzhongyuan committed Jun 1, 2016
1 parent 0f9e88d commit 1a35fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writing-a-plugin/guidelines.md
Expand Up @@ -22,7 +22,7 @@
- 测试一个插件很简单,你甚至不需要 gulp 就能测试
- 参考其他的插件是怎么做的
1.`package.json` 中增加一个名为 `gulpplugin` 的关键字,这可以让它能在我们的搜索中出现
1. 不要再 stream 里面抛出错误
1. 不要在 stream 里面抛出错误
- 你应该以触发 **error** 事件来代替
- 如果你在 stream 外面遇到错误,比如在创建 stream 时候发现错误的配置选项等,那么你应该抛出它。
1. 错误需要加上以你插件名字作为前缀
Expand Down

0 comments on commit 1a35fd9

Please sign in to comment.