Skip to content

Commit

Permalink
Turn errors into warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed Dec 7, 2022
1 parent a8f1fb4 commit 46fc26c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,11 @@ class CML {
remote
});
for (const command of commands) {
await exec(...command);
try {
await exec(...command);
} catch (err) {
winston.warn(err);
}
}
if (fetchDepth !== undefined) {
if (fetchDepth <= 0) {
Expand Down

2 comments on commit 46fc26c

@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

@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

Please sign in to comment.