Skip to content

Commit b9d26fa

Browse files
committed
rename variable
1 parent 870a61d commit b9d26fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runners/console/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,12 +637,12 @@ export class Console extends Runner {
637637

638638
async assertAdaptTemplatesCobiGen(step: Step, command: Command, result: RunResult) {
639639
try {
640-
let templateDir = path.join(os.homedir(), ".cobigen", "templates");
640+
let templatesDir = path.join(os.homedir(), ".cobigen", "templates");
641641
new Assertions()
642642
.noErrorCode(result)
643643
.noException(result)
644-
.directoryExits(templateDir)
645-
.directoryNotEmpty(templateDir);
644+
.directoryExits(templatesDir)
645+
.directoryNotEmpty(templatesDir);
646646

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

0 commit comments

Comments
 (0)