Skip to content

Commit c164f8f

Browse files
committed
fix: error messages now display properly in terminal.
1 parent 5d6c47b commit c164f8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ class LocalAddonGenerator extends Generator {
164164
if(this.shouldShowFullErrors && error !== undefined) {
165165
this.log(error);
166166
}
167-
this.env.error(`\n❌ ${chalk.red('ERROR:')} ${message}`);
167+
this.log(`\n❌ ${chalk.red('ERROR:')} ${message}`);
168+
this.env.error(`create-local-addon error: ${message}`);
168169
}
169170

170171
_printOpeningInstructions() {

0 commit comments

Comments
 (0)