Skip to content

Commit

Permalink
docs(cn): restore line break
Browse files Browse the repository at this point in the history
  • Loading branch information
waynzh committed Apr 24, 2023
1 parent e933e7f commit 9ffe379
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/plugin-development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,9 @@ function dependentPlugin() {
);
if (!parentPlugin) {
// 或者如果是可选的,可以静默处理
throw new Error(`此插件依赖于 “${parentName}” 插件。`);
throw new Error(
`此插件依赖于 “${parentName}” 插件。`
);
}
// 现在你可以在后续钩子中访问 API 方法
parentApi = parentPlugin.api;
Expand Down

0 comments on commit 9ffe379

Please sign in to comment.