We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9cdcf commit 870a61dCopy full SHA for 870a61d
runners/console/index.ts
@@ -637,11 +637,12 @@ export class Console extends Runner {
637
638
async assertAdaptTemplatesCobiGen(step: Step, command: Command, result: RunResult) {
639
try {
640
- let homedir = os.homedir();
+ let templateDir = path.join(os.homedir(), ".cobigen", "templates");
641
new Assertions()
642
.noErrorCode(result)
643
.noException(result)
644
- .directoryExits(path.join(homedir, ".cobigen", "templates"));
+ .directoryExits(templateDir)
645
+ .directoryNotEmpty(templateDir);
646
647
} catch(error) {
648
this.cleanUp();
0 commit comments