Skip to content

Commit

Permalink
chore: cli print error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqmanuja committed Aug 9, 2024
1 parent f8101cb commit 30cbcfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ yargs(process.argv.slice(2))
({ dest }) => {
console.log(`Downloaded to ${dest}`);
},
() => {
e => {
console.log(`Unable to download ${org}/${repo}`);
console.log(e.message);
},
)
.finally(() => {
Expand Down

0 comments on commit 30cbcfb

Please sign in to comment.