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);