Skip to content

Commit

Permalink
fix: 修复warning路径引用错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Aug 12, 2022
1 parent b0ff9ed commit e2be142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/warning/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ program
'set webhooks api of dingding | wechart | Lark | others, separated by commas',
)
.option('-mf, --monitor-files <monitorFiles>', 'set monitor files')
.action(require('../src/run')('webhooks'))
.action(require('./run')('webhooks'))

program
.command('email')
Expand All @@ -30,6 +30,6 @@ program
'set the email receivers, separated by commas',
)
.option('-mf, --monitor-files <monitorFiles>', 'set monitor files')
.action(require('../src/run')('email'))
.action(require('./run')('email'))

program.parse(process.argv)

0 comments on commit e2be142

Please # to comment.