Cleaning up errors.

This commit is contained in:
Federico Builes
2022-05-12 18:07:14 +02:00
parent 0e9a322413
commit 0e2b63f1f4
+2 -1
View File
@@ -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