mirror of
https://github.com/Swatinem/rust-cache
synced 2026-05-20 17:49:35 +00:00
Fix TS 6.0 compatibility issues
This commit is contained in:
parent
22c9bd4407
commit
82669f7b8f
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import { cleanTargetDir } from "./cleanup";
|
||||||
import { CacheConfig } from "./config";
|
import { CacheConfig } from "./config";
|
||||||
import { getCacheProvider, reportError } from "./utils";
|
import { getCacheProvider, reportError } from "./utils";
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e: any) => {
|
||||||
core.error(e.message);
|
core.error(e.message);
|
||||||
if (e.stack) {
|
if (e.stack) {
|
||||||
core.error(e.stack);
|
core.error(e.stack);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import { cleanBin, cleanGit, cleanRegistry, cleanTargetDir } from "./cleanup";
|
||||||
import { CacheConfig, isCacheUpToDate } from "./config";
|
import { CacheConfig, isCacheUpToDate } from "./config";
|
||||||
import { getCacheProvider, reportError } from "./utils";
|
import { getCacheProvider, reportError } from "./utils";
|
||||||
|
|
||||||
process.on("uncaughtException", (e) => {
|
process.on("uncaughtException", (e: any) => {
|
||||||
core.error(e.message);
|
core.error(e.message);
|
||||||
if (e.stack) {
|
if (e.stack) {
|
||||||
core.error(e.stack);
|
core.error(e.stack);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue