async configuring()

in packages/build-tools/console-toolkit-plugin-xconsole/generators/xconsole/index.js [31:45]


  async configuring() {
    const { name } = this.props;
    if (path.basename(this.destinationPath()) !== name) {
      this.log(
        `Your generator must be inside a folder named ${name}\nI'll automatically create this folder.`
      );
      try {
        await mkdirp(name);
      } catch(e) {
        console.log(e)
      }
      console.log(this.destinationPath(name))
      this.destinationRoot(this.destinationPath(name));
    }
  }