From 4b67d61a566560bb01793f2dbe8418ba923ff997 Mon Sep 17 00:00:00 2001
From: Daniel Barnes <dabarnes2b@gmail.com>
Date: Sat, 8 Oct 2022 13:39:05 -0700
Subject: [PATCH] bad ternary?

---
 bin/cml/asset/publish.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/cml/asset/publish.js b/bin/cml/asset/publish.js
index 208deb2cd..d3c856a6b 100644
--- a/bin/cml/asset/publish.js
+++ b/bin/cml/asset/publish.js
@@ -15,8 +15,10 @@ exports.handler = async (opts) => {
     opts.native = true;
   }
 
-  const { file, repo, native, asset: path } = opts;
-  const cml = new CML({ ...opts, repo: native ? repo : 'cml' });
+  // const { file, repo, native, asset: path } = opts;
+  const { file, asset: path } = opts;
+  // const cml = new CML({ ...opts, repo: native ? repo : 'cml' });
+  const cml = new CML({ ...opts });
   const output = await cml.publish({ ...opts, path });
 
   if (!file) console.log(output);