Skip to content

Commit 99b9f7a

Browse files
authored
Disable the yaml aliases limit (#1707)
## Changes Fixes #1706 ## Tests Manual and existing e2e tests
1 parent 85af43f commit 99b9f7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/databricks-vscode/src/bundle/BundleFileSet.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ const rootFilePattern: string = "{bundle,databricks}.{yaml,yml}";
1313
const subProjectFilePattern: string = path.join("**", rootFilePattern);
1414

1515
export async function parseBundleYaml(file: Uri) {
16-
const data = yaml.parse(await readFile(file.fsPath, "utf-8"));
16+
const data = yaml.parse(await readFile(file.fsPath, "utf-8"), {
17+
// Bundles might have a lot of aliases (#1706), default 100 limit is too low
18+
maxAliasCount: -1,
19+
});
1720
return data as BundleSchema;
1821
}
1922

0 commit comments

Comments
 (0)