From 4f90a33a935d59dd8c0987ae4e7e79518aba42be Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Mon, 16 Oct 2023 13:29:10 -0400 Subject: [PATCH] deploy exclusion --- cli.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cli.tsx b/cli.tsx index d81d589..0bc3741 100644 --- a/cli.tsx +++ b/cli.tsx @@ -99,8 +99,8 @@ if(arg._.length) } case "cloud" : { - let useToken = await collect("DENO_DEPLOY_TOKEN", arg, env); - let useProject = await collect("DENO_DEPLOY_PROJECT", arg, env); + const useToken = await collect("DENO_DEPLOY_TOKEN", arg, env); + const useProject = await collect("DENO_DEPLOY_PROJECT", arg, env); let scanProd:string[]|string|null = prompt(`Do you want to deploy to *production*?`); if(scanProd) @@ -113,7 +113,7 @@ if(arg._.length) scanProd = []; } - await SubProcess([ + const command = [ "run", "-A", "--no-lock", @@ -123,10 +123,11 @@ if(arg._.length) `--project=${useProject}`, `--token=${useToken}`, `--import-map=${imports.path}`, - + `--exclude=.*,.*/,`, ...scanProd, - ...Deno.args, - RootHost+"run.tsx"]); + RootHost+"run.tsx"]; + + await SubProcess(command); break; }