Skip to content

Commit

Permalink
fix: run linting on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Apr 11, 2024
1 parent deeb38f commit a34a7a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/openapi-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dev": "rimraf dist && pnpm build-bundle --watch",
"format": "prettier --write .",
"lint:fix": "prettier --check . && eslint . --fix",
"lint": "eslint .",
"lint": "prettier --check . && eslint .",
"prepublishOnly": "pnpm build",
"test:coverage": "vitest run --config vitest.config.unit.ts --coverage",
"test:e2e": "vitest run --config vitest.config.e2e.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-ts/src/utils/write/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const typeArray = (model: Model) => {
model.maxItems === model.minItems &&
model.maxItems <= 100
) {
const types = toType(model.link)
const types = toType(model.link);

Check warning on line 33 in packages/openapi-ts/src/utils/write/type.ts

View check run for this annotation

Codecov / codecov/patch

packages/openapi-ts/src/utils/write/type.ts#L33

Added line #L33 was not covered by tests
const tuple = compiler.typedef.tuple(Array(model.maxItems).fill(types), model.isNullable);
return tuple;
}
Expand Down

0 comments on commit a34a7a2

Please sign in to comment.