Skip to content

Commit

Permalink
feat(cli): 在執行 cli 指令時同時檢查更新
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Dec 12, 2022
1 parent dc84af1 commit 4e1097e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/download-series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import { parseArgvDownload } from '../lib/cli/parse-argv-download';
import { _handleArgv, _handleArgvResult } from '../lib/cli/handle-argv';

export default parseArgvDownload()
.then(async _ => {

await import('../scripts/fetch-latest-version-of-zh-cn').then(m => m.default);

return _;
})
.then(_handleArgv)
.then(_handleArgvResult)
;

0 comments on commit 4e1097e

Please sign in to comment.