mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Shared: Handle trap compression option properly
Extracting the compression setting from an environment variable is the responsibility of the API consumer.
This commit is contained in:
@@ -61,6 +61,7 @@ pub fn run(options: Options) -> std::io::Result<()> {
|
||||
},
|
||||
],
|
||||
trap_dir: options.output_dir,
|
||||
trap_compression: trap::Compression::from_env("CODEQL_QL_TRAP_COMPRESSION"),
|
||||
source_archive_dir: options.source_archive_dir,
|
||||
file_list: options.file_list,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user