Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Exit syn2mas advisor with non-zero exit code on errors #2289

Merged
merged 2 commits into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/syn2mas/src/advisor.mts
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,6 @@ export async function advisor(): Promise<void> {
"Synapse config has login_via_existing_session enabled which must to be disabled or removed after migration",
);
}

process.exit(errors.length > 0 ? 1 : 0);
}
Loading