Skip to content

Commit bb9cdcf

Browse files
committed
changed assertions
1 parent 7cd719c commit bb9cdcf

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
@@ -637,11 +637,11 @@ export class Console extends Runner {
637637

638638
async assertAdaptTemplatesCobiGen(step: Step, command: Command, result: RunResult) {
639639
try {
640+
let homedir = os.homedir();
640641
new Assertions()
641642
.noErrorCode(result)
642643
.noException(result)
643-
.fileExits(path.join(this.getWorkingDirectory(), "devonfw", "software", "cobigen-cli", "cg"))
644-
.fileExits(path.join(this.getWorkingDirectory(), "devonfw", "software", "cobigen-cli", "class-loader-agent.jar"));
644+
.directoryExits(path.join(homedir, ".cobigen", "templates"));
645645

646646
} catch(error) {
647647
this.cleanUp();

0 commit comments

Comments
 (0)