mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
feat: update beta
This commit is contained in:
parent
049e71b7bb
commit
5399d57e38
22 changed files with 147 additions and 13 deletions
|
|
@ -180,3 +180,10 @@ function getDOMException (errorMessage) {
|
|||
? new Error(errorMessage)
|
||||
: new DOMException(errorMessage)
|
||||
}
|
||||
|
||||
export async function checkPnpm () {
|
||||
let npm = 'npm'
|
||||
let ret = await this.execSync('pnpm -v')
|
||||
if (ret.stdout) npm = 'pnpm'
|
||||
return npm
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue