Skip to content

Commit ff73b24

Browse files
dependabot[bot]v-mahabaleshwarsv-priyagupta108
authored
Bump prettier from 3.8.4 to 3.9.9 and package.json from 7.0.0 to 7.1.0 (#1363)
* Bump prettier from 3.8.4 to 3.9.9 Bumps [prettier](https://github.com/prettier/prettier) from 3.8.4 to 3.9.9. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.4...3.9.9) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.9.9 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump version from 7.0.0 to 7.1.0 in package.json and package-lock.json * Refactor isRateLimitError function for improved readability --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mahabaleshwars <147705296+mahabaleshwars@users.noreply.github.com> Co-authored-by: priyagupta108 <priyagupta108@github.com>
1 parent 0e40890 commit ff73b24

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

‎package-lock.json‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-python",
3-
"version": "7.0.0",
3+
"version": "7.1.0",
44
"type": "module",
55
"private": true,
66
"description": "Setup python action",
@@ -56,7 +56,7 @@
5656
"eslint-plugin-n": "^18.1.0",
5757
"globals": "^17.7.0",
5858
"jest": "^30.4.2",
59-
"prettier": "^3.8.4",
59+
"prettier": "^3.9.9",
6060
"ts-jest": "^29.4.14",
6161
"typescript": "^6.0.3"
6262
}

‎src/install-python.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,7 @@ function sleep(ms: number): Promise<void> {
275275
// HTTP 403/429 from http-client (`statusCode`) or tool-cache (`httpStatusCode`).
276276
function isRateLimitError(err: unknown): boolean {
277277
const e = err as
278-
| {httpStatusCode?: number; statusCode?: number}
279-
| null
280-
| undefined;
278+
{httpStatusCode?: number; statusCode?: number} | null | undefined;
281279
const status = e?.httpStatusCode ?? e?.statusCode;
282280
return status === 403 || status === 429;
283281
}

0 commit comments

Comments
 (0)