Skip to content

Commit

Permalink
Import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcampbell committed Jul 6, 2023
1 parent fe16a1a commit bfcab65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/generate-types.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { readdir, mkdir, rm, writeFile, copyFile } from "node:fs/promises";
import { basename } from "node:path";

import prettier from "prettier";
import * as prettier from "prettier";
import openapiTS from "openapi-typescript";

if (!process.env.OCTOKIT_OPENAPI_VERSION) {
Expand Down Expand Up @@ -64,7 +64,7 @@ async function run() {
packageName === "openapi-types" ? "" : `for ${name}`
}
This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/)
This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/)
## Usage
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-package.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { writeFile, readdir, readFile } from "node:fs/promises";
import prettier from "prettier";
import * as prettier from "prettier";

if (!process.env.OCTOKIT_OPENAPI_VERSION) {
throw new Error("OCTOKIT_OPENAPI_VERSION is not set");
Expand Down

0 comments on commit bfcab65

Please sign in to comment.