Skip to content

Commit

Permalink
run prettier on new file
Browse files Browse the repository at this point in the history
please pass ci check
  • Loading branch information
Jackman3323 committed May 20, 2024
1 parent 8ba4a36 commit 4cf8be2
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions src/commands/reset-conductor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ import * as vscode from "vscode";
import { BaseCommand, BaseCommandOptions } from "./base-command";

export const resetConductor = async () => {
const resetConductorCommandOptions: BaseCommandOptions = {
command: "pros",
args: ["c", "reset"], //--force not needed: Ben's base-commands class auto-handles warning + confirmation.
message: "Resetting Conductor",
requiresProsProject: true,
successMessage: "Conductor Reset Successfully. Any templates and/or depots previously cached will need to be re-fetched.",
};
const resetConductorCommand: BaseCommand = new BaseCommand(resetConductorCommandOptions);
try {
await resetConductorCommand.runCommand();
} catch (err: any) {
await vscode.window.showErrorMessage(err.message);
}
const resetConductorCommandOptions: BaseCommandOptions = {
command: "pros",
args: ["c", "reset"], //--force not needed: Ben's base-commands class auto-handles warning + confirmation.
message: "Resetting Conductor",
requiresProsProject: true,
successMessage:
"Conductor Reset Successfully. Any templates and/or depots previously cached will need to be re-fetched.",
};
const resetConductorCommand: BaseCommand = new BaseCommand(
resetConductorCommandOptions
);
try {
await resetConductorCommand.runCommand();
} catch (err: any) {
await vscode.window.showErrorMessage(err.message);
}
};

0 comments on commit 4cf8be2

Please sign in to comment.