Skip to content

Commit

Permalink
fix(cli-plugin-deploy-pulumi): remove deprecated watch output modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Feb 20, 2024
1 parent 0384613 commit 82fddc9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 448 deletions.
16 changes: 1 addition & 15 deletions packages/cli-plugin-deploy-pulumi/commands/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const bodyParser = require("body-parser");
const { getProjectApplication, getProject } = require("@webiny/cli/utils");
const get = require("lodash/get");
const merge = require("lodash/merge");
const browserOutput = require("./watch/output/browserOutput");
const terminalOutput = require("./watch/output/terminalOutput");
const simpleOutput = require("./watch/output/simpleOutput");
const minimatch = require("minimatch");
const glob = require("fast-glob");
Expand Down Expand Up @@ -144,19 +142,7 @@ module.exports = async (inputs, context) => {
}
}

let output;

// TODO: deprecate browser/terminal options with 5.40.0 release.
switch (inputs.output) {
case "browser":
output = browserOutput;
break;
case "terminal":
output = terminalOutput;
break;
default:
output = simpleOutput;
}
const output = simpleOutput;

if (typeof output.initialize === "function") {
await output.initialize(inputs);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 82fddc9

Please sign in to comment.