mirror of
https://github.com/meld-cp/obsidian-build.git
synced 2026-07-22 07:30:25 +00:00
.
This commit is contained in:
parent
f30c4264d2
commit
3515c8b412
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { MessageModal } from "./modal-message";
|
||||
import { TAssertRunContext } from "./run-context";
|
||||
|
||||
export class AssertImplemention implements TAssertRunContext{
|
||||
export class AssertImplemention implements TAssertRunContext {
|
||||
|
||||
private async showFailMessage( label:string, msg:string ) : Promise<void>{
|
||||
const title = '❗ Assert Failed' + ( label.length > 0 ? ` - ${label}` : '' );
|
||||
|
|
@ -54,4 +54,4 @@ export class AssertImplemention implements TAssertRunContext{
|
|||
throw new Error(msg);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue