Skip to content

Commit

Permalink
style: Remove commented code out
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrea committed Jul 22, 2022
1 parent 73650a9 commit b4e713f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/core/src/scaffold/Scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,8 @@ class Scaffold {

if (this._readConfigFileOption.value && !configFileLoaded) {
this._alerts.set("config", "Configuration file was not found. A scaffold was created");
// Set base collection, which is the one created in the scaffold
// LEGACY, enable again when selected collection is not defined in the option. (when legacy option is removed)
/* if (!this._collectionSelectedOption.value) {
this._collectionSelectedOption.value = "base";
} */

// LEGACY, Set base collection, which is the one created in the scaffold, when selected collection is not defined in the option. (when legacy option is removed)
// If the collection selected option value is not set, it should be set as "base"
return this._createConfig();
}
return Promise.resolve();
Expand Down

0 comments on commit b4e713f

Please sign in to comment.