From 0e2b63f1f40c48da2954eceb52aba798774d6c57 Mon Sep 17 00:00:00 2001 From: Federico Builes Date: Thu, 12 May 2022 18:07:14 +0200 Subject: [PATCH] Cleaning up errors. --- src/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 011e8b4..9e8fe52 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,9 +1,10 @@ import * as fs from 'fs' +import * as core from '@actions/core' import YAML from 'yaml' import * as z from 'zod' const CONFIG_FILEPATH = "./.github/dep-review.yml" -const SEVERITIES = ["critical", "high", "moderate", "low"] +const SEVERITIES = ["critical", "high", "moderate", "low"] as const // TODO check for file not existing // TODO check for file with both extensions