Skip to content

Commit

Permalink
Bump typescript from 4.3.5 to 4.7.4 (#334)
Browse files Browse the repository at this point in the history
* Bump typescript from 4.3.5 to 4.7.4

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.3.5...v4.7.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixup

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Archambault <alexandre.archambault@gmail.com>
  • Loading branch information
dependabot[bot] and alexarchambault authored Aug 15, 2022
1 parent 6930ffb commit 3084bdb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"eslint-plugin-github": "^4.1.5",
"js-yaml": "^4.1.0",
"prettier": "2.7.1",
"typescript": "^4.3.5"
"typescript": "^4.7.4"
}
}
4 changes: 2 additions & 2 deletions src/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async function restoreCache(

try {
restoreKey = await cache.restoreCache(paths, key, restoreKeys)
} catch (error) {
} catch (error: any) {
core.info(`[warning] ${error.message}`)
}

Expand Down Expand Up @@ -433,7 +433,7 @@ async function run(): Promise<void> {
async function doRun(): Promise<void> {
try {
await run()
} catch (err) {
} catch (err: any) {
core.setFailed(err.toString())
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function saveCache(id: string): Promise<void> {
try {
core.info(`Saving ${id} cache`)
await cache.saveCache(cachePaths, primaryKey)
} catch (error) {
} catch (error: any) {
if (error.name === 'ValidationError') {
throw error
} else if (error.name === 'ReserveCacheError') {
Expand All @@ -58,7 +58,7 @@ async function run(): Promise<void> {
async function doRun(): Promise<void> {
try {
await run()
} catch (err) {
} catch (err: any) {
core.info(`[warning] Caught ${err.message}, ignoring it`)
}
}
Expand Down

0 comments on commit 3084bdb

Please sign in to comment.