File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.1.1] - 2025-11-07
11+
1012### Changed
1113
1214** BREAKING: ` lspec validate ` output format redesigned** (spec 054)
@@ -31,6 +33,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3133- Exit codes are unchanged, so CI pipelines should work without modification
3234- JSON format is available for custom parsing: ` lspec validate --format json `
3335
36+ ### Fixed
37+ - Fixed potential crash in validate formatter when spec name is missing
38+
3439## [ 0.1.0] - 2025-11-02
3540
3641### Added
@@ -83,4 +88,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8388- Gray-matter for frontmatter parsing
8489- Dayjs for date handling
8590
91+ [ 0.1.1 ] : https://github.com/codervisor/lean-spec/releases/tag/v0.1.1
8692[ 0.1.0 ] : https://github.com/codervisor/lean-spec/releases/tag/v0.1.0
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export function groupIssuesByFile(
9292
9393 // Sort files by spec name (natural order)
9494 fileResults . sort ( ( a , b ) => {
95- if ( a . spec && b . spec ) {
95+ if ( a . spec ?. name && b . spec ?. name ) {
9696 return a . spec . name . localeCompare ( b . spec . name ) ;
9797 }
9898 return a . filePath . localeCompare ( b . filePath ) ;
You can’t perform that action at this time.
0 commit comments