Address review comments

This commit is contained in:
Asger F
2026-05-08 09:03:18 +02:00
parent 9a2b7bac8f
commit 33e89ea123
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ mod swift;
#[derive(Args)]
pub struct Options {
/// Sets a custom source achive folder
/// Sets a custom source archive folder
#[arg(long)]
source_archive_dir: PathBuf,
@@ -23,7 +23,7 @@ pub struct Options {
}
pub fn run(options: Options) -> std::io::Result<()> {
codeql_extractor::extractor::set_tracing_level("ql");
codeql_extractor::extractor::set_tracing_level("unified");
let extractor = simple::Extractor {
prefix: "unified".to_string(),
@@ -31,7 +31,7 @@ pub fn run(options: Options) -> std::io::Result<()> {
swift::language_spec(),
],
trap_dir: options.output_dir,
trap_compression: trap::Compression::from_env("CODEQL_QL_TRAP_COMPRESSION"),
trap_compression: trap::Compression::from_env("CODEQL_EXTRACTOR_UNIFIED_OPTION_TRAP_COMPRESSION"),
source_archive_dir: options.source_archive_dir,
file_lists: vec![options.file_list],
};

View File

@@ -15,7 +15,7 @@ pub struct Options {
}
pub fn run(options: Options) -> std::io::Result<()> {
codeql_extractor::extractor::set_tracing_level("ql");
codeql_extractor::extractor::set_tracing_level("unified");
let languages = vec![Language {
name: "Swift".to_owned(),
@@ -23,5 +23,5 @@ pub fn run(options: Options) -> std::io::Result<()> {
desugar: None,
}];
generate(languages, options.dbscheme, options.library, "run ql/unified/scripts/create-extractor-pack.sh")
generate(languages, options.dbscheme, options.library, "run unified/scripts/create-extractor-pack.sh")
}

View File

@@ -1,6 +1,6 @@
// CodeQL database schema for Swift
// Automatically generated from the tree-sitter grammar; do not edit
// To regenerate, run ql/unified/scripts/create-extractor-pack.sh
// To regenerate, run unified/scripts/create-extractor-pack.sh
/*- Files and folders -*/