We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2ea27 commit 60fc60fCopy full SHA for 60fc60f
1 file changed
packages/cli/src/commands/open.ts
@@ -49,6 +49,7 @@ export class OpenCommand extends Command {
49
const resultsDirectories: string[] = [];
50
const config = await readConfig(cwd, this.config, {
51
output: this.output,
52
+ port: this.port,
53
});
54
const matchedDirs = (
55
await glob(resultsDir, {
@@ -82,7 +83,7 @@ export class OpenCommand extends Command {
82
83
await allureReport.done();
84
85
await serve({
- port: this.port ? parseInt(this.port, 10) : undefined,
86
+ port: config.port ? parseInt(config.port, 10) : undefined,
87
servePath: config.output,
88
open: true,
89
0 commit comments