Skip to content

Commit

Permalink
chore: redo the knip changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 10, 2024
1 parent 17c6154 commit 8110144
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions __tests__/helpers/get-api-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ export function getAPIv1Mock(reqHeaders = {}) {
});
}

export function getAPIv1MockWithVersionHeader(v: string) {
return getAPIv1Mock({
'x-readme-version': v,
});
}

/**
* Nock wrapper for ReadMe API v2 that adds required
* `user-agent` request header so it gets properly picked up by nock.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/apiError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import chalk from 'chalk';

export interface APIv1ErrorResponse {
interface APIv1ErrorResponse {
docs?: string;
error: string;
help?: string;
Expand Down

0 comments on commit 8110144

Please sign in to comment.