Skip to content

Commit 6d51e1b

Browse files
committed
allow variables to be used with open command in the runner
1 parent 6f77b8c commit 6d51e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/selianize/src/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export default {
266266
function emitOpen(target) {
267267
const url = /^(file|http|https):\/\//.test(target)
268268
? `"${target}"`
269-
: `(new URL("${target}", BASE_URL)).href`
269+
: `(new URL(\`${target}\`, BASE_URL)).href`
270270
return Promise.resolve(`await driver.get(${url});`)
271271
}
272272

0 commit comments

Comments
 (0)