Skip to content

Commit 98c4b0a

Browse files
modified command createProject in console runner
1 parent 3bcaacb commit 98c4b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runners/console/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class Console extends Runner {
6868
if(this.platform == ConsolePlatform.WINDOWS) {
6969
this.executeCommandSync("devon " + command.parameters[0] + " create com.example.application." + command.parameters[1], workspaceDir, result);
7070
} else {
71-
this.executeCommandSync("~/.devon/devon " + command.parameters[0] + " create com.example.application." + command.parameters[1], path.join(this.getWorkingDirectory(), "devonfw"), result);
71+
this.executeCommandSync("~/.devon/devon " + command.parameters[0] + " create com.example.application." + command.parameters[1], workspaceDir, result);
7272
}
7373

7474
return result;
@@ -108,7 +108,7 @@ export class Console extends Runner {
108108

109109
async assertCreateProject(step: Step, command: Command, result: RunResult) {
110110
let workspaceDir = path.join(this.getWorkingDirectory(), "devonfw", "workspaces", "main");
111-
111+
112112
let assert = new Assertions()
113113
.noErrorCode(result)
114114
.noException(result)

0 commit comments

Comments
 (0)