Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Nov 1, 2024
1 parent b1cd4d7 commit 2bca159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/cli.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const [filePath] = cli.input;

const api = new Polar({
accessToken: code,
server
server,
});

const organization = await resolveOrganization(api);
Expand Down
6 changes: 3 additions & 3 deletions src/ui/success.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { StatusMessage } from "@inkjs/ui";
import type { CheckoutLink } from "@polar-sh/sdk/models/components/checkoutlink.js";
import type { Product } from "@polar-sh/sdk/models/components/product.js";
import spawn from "cross-spawn";
import { Box, Text, render } from "ink";
import React from "react";
import open from "open";
import spawn from "cross-spawn";
import React from "react";

function pbcopy(data: string) {
const proc = spawn("pbcopy");
Expand All @@ -25,7 +25,7 @@ export const successMessage = (
<StatusMessage variant="success">
<Text>Checkout URL copied to clipboard!</Text>
</StatusMessage>
</Box>
</Box>,
);

open(checkoutLink.url);
Expand Down

0 comments on commit 2bca159

Please sign in to comment.