File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -117,22 +117,22 @@ function is_partial_node(node: Node): boolean {
117117
118118function 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 [ ] ,
You can’t perform that action at this time.
0 commit comments