Skip to content

Commit

Permalink
fix: disable autoinstall of Yeoman 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ubheamar committed Dec 3, 2021
1 parent 1935caf commit 63c65d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ const Generator = require("yeoman-generator"),
module.exports = class extends Generator {
static displayName = "Create a new Fiori Launchpad Plugin";

constructor(args, opts) {
super(args, opts, {
// disable the Yeoman 5 package-manager logic (auto install)!
customInstallTask: "disabled"
});
}

prompting() {
if (!this.options.embedded) {
this.log(yosay(`Welcome to the ${chalk.red("generator-flp-plugin")} generator!`));
Expand Down

0 comments on commit 63c65d5

Please sign in to comment.