Merge pull request #18 from element-hq/t3chguy-patch-1

Make mas-cli testcontainer method public
This commit is contained in:
Michael Telatynski 2025-03-25 10:32:01 +00:00 committed by GitHub
commit bb972bb084

View File

@ -277,7 +277,7 @@ export class StartedMatrixAuthenticationServiceContainer extends AbstractStarted
return this.adminTokenPromise;
}
private async manage(cmd: string, ...args: string[]): Promise<ExecResult> {
public async manage(cmd: string, ...args: string[]): Promise<ExecResult> {
const result = await this.exec(["mas-cli", "manage", cmd, ...this.args, ...args]);
if (result.exitCode !== 0) {
throw new Error(`Failed mas-cli manage ${cmd}: ${result.output}`);