From e6c515eaeb928154017a07ac70b6ab2265059c51 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 9 Jan 2024 15:55:07 +0000 Subject: [PATCH 1/2] Remove more textual references to metadata.json --- src/codeql.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codeql.ts b/src/codeql.ts index 7e63fa9b..7bfe6dd2 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -32,14 +32,14 @@ export interface Sarif { /** * Run a query. Will operate on the current working directory and create the following directories: * - query/ (query.ql and any other supporting files) - * - results/ (results.{bqrs,sarif} and metadata.json) + * - results/ (results.{bqrs,sarif}) * * @param codeql The path to the codeql binary * @param database The path to the bundled database zip file * @param nwo The name of the repository * @param queryPack The path to the query pack * @returns Promise Resolves when the query has finished running. Returns information - * about the query result and paths to the result files and metadata.json file. + * about the query result and paths to the result files. */ export async function runQuery( codeql: string, From 2c921ecfa8743b1d2a30fda4e47621d129b681a3 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 9 Jan 2024 15:55:19 +0000 Subject: [PATCH 2/2] Remove test_download_response directory --- testdata/test_download_response/error.txt | 1 - testdata/test_download_response/metadata.json | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 testdata/test_download_response/error.txt delete mode 100644 testdata/test_download_response/metadata.json diff --git a/testdata/test_download_response/error.txt b/testdata/test_download_response/error.txt deleted file mode 100644 index 6ec9f89a..00000000 --- a/testdata/test_download_response/error.txt +++ /dev/null @@ -1 +0,0 @@ -Ceci n'est pas un error message. \ No newline at end of file diff --git a/testdata/test_download_response/metadata.json b/testdata/test_download_response/metadata.json deleted file mode 100644 index 9896910d..00000000 --- a/testdata/test_download_response/metadata.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "nwo": "a/c" -}