Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
make codecov happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Darmody committed Feb 16, 2020
1 parent 3cae133 commit 3ec1b99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions packages/remax-cli/src/build/plugins/compiler/static/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,17 +267,6 @@ export function wrappedByElement(
);
}

/**
* 用 <plain-text-leaf> 标签包裹,用于处理单文本节点表达式
*
*/
export function wrappedByPlainTextLeaf(
node: t.JSXExpressionContainer,
path: NodePath<t.JSXExpressionContainer>
) {
wrappedByElement('plain-text-leaf', node, path);
}

/**
* 用 <expression-block> 标签包裹,用于处理无法静态化的标签和表达式
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ export default class JSXElementPathSet {
this.paths.push({ path, module, templateID, isEntry });
}

public clear() {
this.paths = [];
this.id = 0;
}

public remove(module: string) {
this.paths.filter(p => p.module !== module);
}
Expand Down

0 comments on commit 3ec1b99

Please sign in to comment.