Commit 2c8d44f
committed
fix(cortex-cli): show YAML error instead of TOML error for skill parsing
Fixes bounty issue #1593
When parsing skill files with unknown extensions, the debug skill command
would try YAML first, then TOML. If both failed, it incorrectly showed
the TOML error message instead of the YAML error. Now preserves the YAML
error since YAML is the primary format attempted first.1 parent 8f839ec commit 2c8d44f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
929 | 931 | | |
930 | 932 | | |
931 | 933 | | |
| |||
0 commit comments