hexo-cli
hexo-cli copied to clipboard
Throw an err when we don't have hexo in package.json
As https://github.com/hexojs/hexo-cli/issues/249 mentioned, this commit hopes to add a prompt to facilitate the user to quickly identify the root cause of the problem
Before:
After:
Unit tests is expired.
https://github.com/hexojs/hexo-cli/pull/250/checks?check_run_id=1204740703 "The logs for this run have expired and are no longer available"