mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #18 from element-hq/t3chguy-patch-1
Make mas-cli testcontainer method public
This commit is contained in:
commit
bb972bb084
@ -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}`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user