Skip to content

Commit

Permalink
refactor: Simplify VM command action and import process directly
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPhamous committed Feb 14, 2025
1 parent 1fd2df0 commit 61455fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/vm.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Command } from "@commander-js/extra-typings";
import process from "node:process";
import { isFeatureEnabled } from "./posthog.ts";

export async function registerVM(program: Command) {
Expand All @@ -11,7 +12,7 @@ export async function registerVM(program: Command) {
program
.command("vm")
.description("Manage virtual machines")
.action(async () => {
.action(() => {
console.log("VMs!!!");

process.exit(0);
Expand Down

0 comments on commit 61455fa

Please sign in to comment.