Skip to content

Commit f287229

Browse files
committed
fix linting
1 parent 2aa24b6 commit f287229

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

src/commands/verify.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@ export const verifyCommand = new Command()
4444
const { pluginId, xMbSpec } = await setup(options.url);
4545

4646
try {
47-
if (!xMbSpec["account-id"]) {
48-
throw new Error("Account ID is required");
49-
}
50-
51-
// Type assertion since we checked that account-id exists
52-
const agentData = formVerifyData(options, xMbSpec as XMbSpec & { "account-id": string });
47+
if (!xMbSpec["account-id"]) {
48+
throw new Error("Account ID is required");
49+
}
50+
51+
// Type assertion since we checked that account-id exists
52+
const agentData = formVerifyData(
53+
options,
54+
xMbSpec as XMbSpec & { "account-id": string },
55+
);
5356

5457
await new PluginService().verify({
5558
pluginId,
@@ -60,7 +63,10 @@ export const verifyCommand = new Command()
6063
}
6164
});
6265

63-
function formVerifyData(options: unknown, spec: XMbSpec & { "account-id": string }): VerifyData {
66+
function formVerifyData(
67+
options: unknown,
68+
spec: XMbSpec & { "account-id": string },
69+
): VerifyData {
6470
return {
6571
accountId: spec["account-id"],
6672
email:

src/playground/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tailwindcss from "@tailwindcss/vite";
22
import react from "@vitejs/plugin-react";
3-
import { nodePolyfills } from 'vite-plugin-node-polyfills'
43
import { defineConfig } from "vite";
4+
import { nodePolyfills } from "vite-plugin-node-polyfills";
55

66
export default defineConfig({
77
plugins: [react(), tailwindcss(), nodePolyfills()],

0 commit comments

Comments
 (0)