Skip to content

Commit 5183aec

Browse files
committed
revert: replace parseYamlSafely with yaml.parse
1 parent 3e3d324 commit 5183aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/config/CustomModesManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ export class CustomModesManager {
932932
// Parse the YAML content with proper type validation
933933
let importData: ImportData
934934
try {
935-
const parsed = this.parseYamlSafely(yamlContent, '')
935+
const parsed = yaml.parse(yamlContent)
936936

937937
// Validate the structure
938938
if (!parsed?.customModes || !Array.isArray(parsed.customModes) || parsed.customModes.length === 0) {

0 commit comments

Comments
 (0)