Skip to content

Commit

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

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

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

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

* Fix catch

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
dependabot[bot] and styfle committed Sep 16, 2021
1 parent b907861 commit b028440
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Expand Up @@ -6168,7 +6168,7 @@ async function main() {
}
main()
.then(() => _actions_core__WEBPACK_IMPORTED_MODULE_0__.info('Cancel Complete.'))
.catch(e => _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(e.message));
.catch((e) => _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(e.message));

})();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,6 +17,6 @@
"@vercel/ncc": "0.31.1",
"husky": "7.0.2",
"prettier": "2.4.0",
"typescript": "4.3.5"
"typescript": "4.4.3"
}
}
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -100,7 +100,7 @@ async function main() {
});
console.log(`Cancel run ${id} responded with status ${res.status}`);
}
} catch (e) {
} catch (e: any) {
const msg = e.message || e;
console.log(`Error while canceling workflow_id ${workflow_id}: ${msg}`);
}
Expand All @@ -111,4 +111,4 @@ async function main() {

main()
.then(() => core.info('Cancel Complete.'))
.catch(e => core.setFailed(e.message));
.catch((e: any) => core.setFailed(e.message));
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -158,10 +158,10 @@ tunnel@0.0.6:
resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c"
integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==

typescript@4.3.5:
version "4.3.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==
typescript@4.4.3:
version "4.4.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==

universal-user-agent@^6.0.0:
version "6.0.0"
Expand Down

0 comments on commit b028440

Please sign in to comment.