Skip to content

Commit

Permalink
feat(notify): use mdast
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Dec 14, 2023
1 parent 3f4e70c commit 6b86a2f
Show file tree
Hide file tree
Showing 4 changed files with 502 additions and 19 deletions.
270 changes: 270 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/notify/lib/action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export async function action({ mode }) {
title: all.project || 'bring-it',
token: DingTalkRobotToken,
})
.then(console.log)
.then((resp) => {
logger.okay(resp.status);
})
.catch((error) => {
console.error(error);
process.exitCode = 1;
Expand Down
Loading

0 comments on commit 6b86a2f

Please sign in to comment.