diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 63c7e5435..78658bb54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: node-version: - - 17 + # - 17 - 16 - 14 os: diff --git a/documentation/examples/gh-got.js b/documentation/examples/gh-got.js index e1df04611..6ab080913 100644 --- a/documentation/examples/gh-got.js +++ b/documentation/examples/gh-got.js @@ -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)