File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,8 @@ export class LaunchQLProject {
445445 // Process external dependencies if needed
446446 if ( options . projects && this . workspacePath ) {
447447 const depData = this . getModuleDependencyChanges ( moduleName ) ;
448- const external = depData . modules . map ( ( m ) => `${ m . name } :${ m . latest } ` ) ;
448+ const external = depData . modules
449+ . map ( ( m ) => `${ m . name } :${ m . latest } ` ) ;
449450
450451 // Add external dependencies to the first change if there is one
451452 if ( resolved . length > 0 ) {
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ export function parsePlanFile(planPath: string): ParseResult<ExtendedPlanFile> {
117117 * Format: change_name [deps] timestamp planner <email> # comment
118118 */
119119function parseChangeLine ( line : string ) : Change | null {
120- // More flexible regex that handles various formats
121- const regex = / ^ ( \S + ) (?: \s + \[ ( [ ^ \] ] * ) \] ) ? (?: \s + ( \d { 4 } - \d { 2 } - \d { 2 } T \d { 2 } : \d { 2 } : \d { 2 } Z ) ) ? (?: \s + ( \S + ) ) ? (?: \s + < ( [ ^ > ] + ) > ) ? (?: \s + # \s + ( .* ) ) ? $ / ;
120+ // More flexible regex that handles various formats, including planner names with spaces
121+ const regex = / ^ ( \S + ) (?: \s + \[ ( [ ^ \] ] * ) \] ) ? (?: \s + ( \d { 4 } - \d { 2 } - \d { 2 } T \d { 2 } : \d { 2 } : \d { 2 } Z ) ) ? (?: \s + ( [ ^ < ] + ? ) ) ? (?: \s + < ( [ ^ > ] + ) > ) ? (?: \s + # \s + ( .* ) ) ? $ / ;
122122
123123 const match = line . match ( regex ) ;
124124 if ( ! match ) {
You can’t perform that action at this time.
0 commit comments