Skip to content

Commit 39ebdc6

Browse files
committed
style: fix line wrapping in error logging message
1 parent b75d8cf commit 39ebdc6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/utils/contribute-utils/branch-utils.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ export function createBranch(tempDir: string, branchName: string): boolean {
1616
cwd: tempDir,
1717
});
1818
} catch (fetchError) {
19-
logger.warn(`Failed to fetch from remote: ${(fetchError as Error).message}`);
19+
logger.warn(
20+
`Failed to fetch from remote: ${(fetchError as Error).message}`
21+
);
2022
// Continue anyway as we might still be able to create the branch
2123
}
22-
24+
2325
// Check if branch exists remotely (after fetching the latest info)
2426
let remoteBranchExists = false;
2527
try {

0 commit comments

Comments
 (0)