Skip to content

Commit

Permalink
bad ternary?
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd committed Oct 8, 2022
1 parent f11c8ae commit 4b67d61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/cml/asset/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

2 comments on commit 4b67d61

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.