From 5eb7976e9e35b0e137fcb82c2712b1a73f3c17c1 Mon Sep 17 00:00:00 2001 From: Volker Buzek Date: Mon, 24 Oct 2022 17:22:40 +0200 Subject: [PATCH] fix: bad open method string --- .../app/scenario/codeService/strategies/wdi5/Wdi5PageBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/app/scenario/codeService/strategies/wdi5/Wdi5PageBuilder.ts b/app/src/app/scenario/codeService/strategies/wdi5/Wdi5PageBuilder.ts index 5d037d4..777384f 100644 --- a/app/src/app/scenario/codeService/strategies/wdi5/Wdi5PageBuilder.ts +++ b/app/src/app/scenario/codeService/strategies/wdi5/Wdi5PageBuilder.ts @@ -40,7 +40,7 @@ export default class Wdi5PageBuilder extends Wdi5IPageBuilder { _generateOpenMethod(): string { const p = new StringBuilder(); - p.addTab().add(`async open("${this.hashPath}") {`).addNewLine(); + p.addTab().add(`async open() {`).addNewLine(); p.addTab(2).add(`wdi5.goTo("${this.hashPath}")`).addNewLine(); p.addTab().add(`}`).addNewLine(); return p.toString();