Skip to content

Commit

Permalink
fix: checker
Browse files Browse the repository at this point in the history
  • Loading branch information
joydeep049 committed Mar 4, 2024
1 parent 1f122bf commit d974753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cve_bin_tool/ci_pre_checker.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright (C) 2021 Intel Corporation
# SPDX-License-Identifier: GPL-3.0-or-later
"""Testing script for checker-action.yml"""
"""Testing script for checkers-action.yml"""
import ast
import sqlite3
import sys
from pathlib import Path

OLD_CACHE_DIR = Path("~").expanduser() / ".cache" / "cve-bin-tool" / "cvedb"
OLD_CACHE_DIR = Path("~").expanduser() / ".cache" / "cve-bin-tool" / "cve.db"


def extract_vendor_product(file_path):
Expand Down Expand Up @@ -47,4 +47,5 @@ def query_database(file_path):

# Caller Code
file_path = sys.argv[1]
print(OLD_CACHE_DIR)
query_database(file_path)

0 comments on commit d974753

Please sign in to comment.