Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 9, 2022
1 parent bf39d2c commit eb613ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 17
# - 17
- 16
- 14
os:
Expand Down
2 changes: 1 addition & 1 deletion documentation/examples/gh-got.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const packageJson = {
version: '12.0.0'
};

const getRateLimit = (headers) => ({
const getRateLimit = headers => ({
limit: Number.parseInt(headers['x-ratelimit-limit'], 10),
remaining: Number.parseInt(headers['x-ratelimit-remaining'], 10),
reset: new Date(Number.parseInt(headers['x-ratelimit-reset'], 10) * 1000)
Expand Down

0 comments on commit eb613ab

Please sign in to comment.