Skip to content

Commit f1adafd

Browse files
committed
wip
1 parent 7f95479 commit f1adafd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/core/src/class/launchql.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

packages/sqitch-parser/src/plan/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ export function parsePlanFile(planPath: string): ParseResult<ExtendedPlanFile> {
117117
* Format: change_name [deps] timestamp planner <email> # comment
118118
*/
119119
function 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) {

0 commit comments

Comments
 (0)