Skip to content

Commit

Permalink
style: remove logs for addon directory name transformation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan309 committed Jul 28, 2020
1 parent 5c21689 commit 766dbae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ class LocalAddonGenerator extends Generator {
}

_formatDirectoryName(addonDirectoryName) {
this.log(`BEFORE: ${addonDirectoryName}`);
const formattedAddonName = addonDirectoryName.replace(/\s+/g, '-');
this.log(`AFTER: ${formattedAddonName}`);
if(formattedAddonName !== addonDirectoryName) {
this._warn(`The entered directory name ${addonDirectoryName} contains spaces (not allowed). These invalid characters have been replaced with dashes.`);
}
Expand Down

0 comments on commit 766dbae

Please sign in to comment.