Skip to content

Commit 52a8219

Browse files
committed
docs: update outdated file names
1 parent 452be3a commit 52a8219

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
{
5555
"name": "node-fetch",
5656
"importNames": ["default"],
57-
"message": "Avoid using `node-fetch` directly and instead use the fetch wrapper located in `lib/fetch.ts`. See CONTRIBUTING.md for more information."
57+
"message": "Avoid using `node-fetch` directly and instead use the fetch wrapper located in `lib/readmeAPIFetch.ts`. See CONTRIBUTING.md for more information."
5858
},
5959
{
6060
"name": "ci-info",

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ When writing command logic, avoid using `console` statements (and correspondingl
7878

7979
### Making `fetch` requests
8080

81-
`fetch` requests are very common in this codebase. When sending `fetch` requests to the ReadMe API (i.e., [dash.readme.com](https://dash.readme.com)), make sure to use the `fetch` wrapper function located in [`src/lib/fetch.ts`](src/lib/fetch.ts). We have an ESLint rule to flag this.
81+
`fetch` requests are very common in this codebase. When sending `fetch` requests to the ReadMe API (i.e., [dash.readme.com](https://dash.readme.com)), make sure to use the `fetch` wrapper function located in [`src/lib/readmeAPIFetch.ts`](src/lib/readmeAPIFetch.ts). We have an ESLint rule to flag this.
8282

8383
In that wrapper function, we set several important request headers and configure the proxy, if the user added one via `HTTPS_PROXY`.
8484

0 commit comments

Comments
 (0)