Skip to content

Commit

Permalink
Run 'pnpm format:fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
amckinney committed Dec 9, 2024
1 parent feae106 commit 4f014e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export async function validateGeneratorsWorkspaceAndLogIssues({
if (hasErrors) {
context.failAndThrow();
}
}
}
6 changes: 1 addition & 5 deletions packages/cli/fern-definition/validator/src/Rule.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { RelativeFilePath } from "@fern-api/fs-utils";
import { Logger } from "@fern-api/logger";
import { FernWorkspace } from "@fern-api/api-workspace-commons";
import {
PackageMarkerAstNodeTypes,
RootApiFileAstNodeTypes,
DefinitionFileAstNodeTypes
} from "./ast";
import { PackageMarkerAstNodeTypes, RootApiFileAstNodeTypes, DefinitionFileAstNodeTypes } from "./ast";
import { DefinitionFileSchema, PackageMarkerFileSchema, RootApiFileSchema } from "@fern-api/fern-definition-schema";

export interface Rule {
Expand Down
4 changes: 1 addition & 3 deletions packages/cli/yaml/generators-validator/src/getAllRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ import { Rule } from "./Rule";
import { CompatibleIrVersionsRule } from "./rules/compatible-ir-versions";

export function getAllRules(): Rule[] {
return [
CompatibleIrVersionsRule,
];
return [CompatibleIrVersionsRule];
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ async function validateGeneratorsYmlFile({
await visitGeneratorsYamlAst(contents, cliVersion, astVisitor);

return violations;
}
}
2 changes: 1 addition & 1 deletion packages/commons/core-utils/src/ObjectPropertiesVisitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export async function visitObjectAsync<T extends object>(
for (const key of keys(visitor)) {
await visitor[key](object[key]);
}
}
}

0 comments on commit 4f014e4

Please sign in to comment.