update pake-cli to 2.0.0-alpha2
This commit is contained in:
2
bin/helpers/rust.ts
vendored
2
bin/helpers/rust.ts
vendored
@@ -21,7 +21,7 @@ export async function installRust() {
|
||||
await shellExec(IS_WIN ? RustInstallScriptForWin : RustInstallScriptFocMac);
|
||||
spinner.succeed();
|
||||
} catch (error) {
|
||||
console.error('Error codes that occur during the Rust installation process.', error.message);
|
||||
console.error('install rust return code', error.message);
|
||||
spinner.fail();
|
||||
|
||||
process.exit(1);
|
||||
|
||||
4
bin/helpers/updater.ts
vendored
4
bin/helpers/updater.ts
vendored
@@ -2,6 +2,6 @@ import updateNotifier from 'update-notifier';
|
||||
// @ts-expect-error
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export async function checkUpdateTips () {
|
||||
updateNotifier({ pkg: packageJson }).notify({ isGlobal: true });
|
||||
export async function checkUpdateTips() {
|
||||
updateNotifier({ pkg: packageJson }).notify();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user