remove attest lib

This commit is contained in:
ejahnGithub
2024-02-23 14:56:17 -08:00
parent 541c5ce47a
commit 5e05628c2a
24 changed files with 8 additions and 840 deletions
+5 -1
View File
@@ -1,5 +1,4 @@
import fs from 'fs'
import { Predicate } from '@actions/attest'
import * as path from 'path'
export type SBOM = {
@@ -7,6 +6,11 @@ export type SBOM = {
object: object
}
type Predicate = {
type: string
params: object
}
export async function parseSBOMFromPath(filePath: string): Promise<SBOM> {
// Read the file content
const fileContent = await fs.promises.readFile(filePath, 'utf8')