Skip to content

Commit 9dbc6a5

Browse files
committed
Merge pull request #8 from zhouzhongyuan/patch-1
错别字
2 parents 0f9e88d + 1a35fd9 commit 9dbc6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

writing-a-plugin/guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
- 测试一个插件很简单,你甚至不需要 gulp 就能测试
2323
- 参考其他的插件是怎么做的
2424
1.`package.json` 中增加一个名为 `gulpplugin` 的关键字,这可以让它能在我们的搜索中出现
25-
1. 不要再 stream 里面抛出错误
25+
1. 不要在 stream 里面抛出错误
2626
- 你应该以触发 **error** 事件来代替
2727
- 如果你在 stream 外面遇到错误,比如在创建 stream 时候发现错误的配置选项等,那么你应该抛出它。
2828
1. 错误需要加上以你插件名字作为前缀

0 commit comments

Comments
 (0)