From 2e7d449623b7faee8feb0a2970e0d6bb7c66b409 Mon Sep 17 00:00:00 2001 From: geoFlux Date: Mon, 17 Feb 2020 11:59:51 -0500 Subject: feat: add --cert flag for http client (#3972) --- cli/installer.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/installer.rs') diff --git a/cli/installer.rs b/cli/installer.rs index eeae35c44..d2d263447 100644 --- a/cli/installer.rs +++ b/cli/installer.rs @@ -155,6 +155,10 @@ pub fn install( let mut executable_args = vec!["run".to_string()]; executable_args.extend_from_slice(&flags.to_permission_args()); + if let Some(ca_file) = flags.ca_file { + executable_args.push("--cert".to_string()); + executable_args.push(ca_file) + } executable_args.push(module_url.to_string()); executable_args.extend_from_slice(&args); -- cgit v1.2.3