Skip to content

Commit b2e4bf1

Browse files
committed
remove obsolete
1 parent 9f8977a commit b2e4bf1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/cubejs-schema-compiler/src/compiler/YamlCompiler.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,6 @@ export class YamlCompiler {
236236
} else if (str[i] === '\\' && str[i + 1] === '}' && stateStack.length === 0) {
237237
result.push('\\}');
238238
i += 1;
239-
} else if (str[i] === '{' && str[i + 1] === '{' && peek()?.inFormattedStr) {
240-
result.push('{{');
241-
i += 1;
242-
} else if (str[i] === '}' && str[i + 1] === '}' && peek()?.inFormattedStr) {
243-
result.push('}}');
244-
i += 1;
245239
} else if (str[i] === '{' && peek()?.inFormattedStr) {
246240
result.push(str[i]);
247241
stateStack.push({ inTemplate: true, depth: 1 });

0 commit comments

Comments
 (0)