Skip to content

Commit 8e077e0

Browse files
committed
refactor: namming convention
1 parent 077317b commit 8e077e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/process/src/transformer.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,22 @@ function is_partial_node(node: Node): boolean {
117117

118118
function flatten_partials(
119119
state: string[],
120-
partialName: string,
120+
partial_name: string,
121121
): [NodeType[], string[], string[]] {
122-
if (state.includes(partialName)) {
122+
if (state.includes(partial_name)) {
123123
throw new Error(
124124
`resolve deps failed: detected cyclic error in these partials in the order ${[
125125
...state,
126126
]}`,
127127
);
128128
}
129129

130-
if (!partialName.length) {
130+
if (!partial_name.length) {
131131
return [[], [], []];
132132
}
133133

134-
state = [...state, partialName];
135-
const res = all_partials_with_nodes_and_tags?.get(partialName) ?? [
134+
state = [...state, partial_name];
135+
const res = all_partials_with_nodes_and_tags?.get(partial_name) ?? [
136136
[],
137137
[],
138138
[],

0 commit comments

Comments
 (0)