Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Dec 20, 2024
1 parent ba1da6c commit bcffe48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export function MaybeEnvironmentDropdown({
// TODO: clean up this component
useEffect(() => {
if (

url &&

Check failure on line 67 in packages/fern-docs/ui/src/components/MaybeEnvironmentDropdown.tsx

View workflow job for this annotation

GitHub Actions / lint

Prefer using an optional chain expression instead, as it's more concise and easier to read
url.host &&
url.host !== "" &&
Expand Down
2 changes: 0 additions & 2 deletions packages/parsers/src/__test__/createSnapshots.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ describe("OpenAPI snapshot tests", () => {

// Create snapshot
if (errors.length > 0) {

console.error("errors:", errors);
}
expect(errors).toHaveLength(0);
if (warnings.length > 0) {

console.warn("warnings:", warnings);
}
// @ts-expect-error id is not part of the expected output
Expand Down

0 comments on commit bcffe48

Please sign in to comment.