remove attest lib
This commit is contained in:
+5
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user