Skip to content

Commit

Permalink
统一 Tencent Serverless CLI 名称,避免歧义。 (#168)
Browse files Browse the repository at this point in the history
* 统一 Tencent Serverless CLI 名称,避免歧义。

* Update standalone.js

add missing fix of name
  • Loading branch information
ole3021 authored Mar 30, 2022
1 parent fa830b1 commit 5c80a05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const standaloneUpgrade = async (options) => {
}
}, 5000);

answer = await confirm('Serverless CLI 有新版本更新,是否立即升级?', {
answer = await confirm('Tencent Serverless CLI 有新版本更新,是否立即升级?', {
name: 'autoUpgradeCLI',
});
clearTimeout(tid);
Expand All @@ -148,7 +148,7 @@ const standaloneUpgrade = async (options) => {
return;
}

cliProgressFooter.updateProgress(`正在升级 Serverless Tencent CLI ${latestTag}`);
cliProgressFooter.updateProgress(`正在升级 Tencent Serverless CLI ${latestTag}`);
const downloadUrl = resolveUrl(latestTag);

await fse.ensureDir(path.dirname(BINARY_PATH));
Expand Down Expand Up @@ -189,7 +189,7 @@ const standaloneUpgrade = async (options) => {
};

const uninstall = async () => {
console.log('正在卸载 serverless-tencent CLI 独立版本');
console.log('正在卸载 Tencent Serverless CLI ...');
await fse.remove(path.dirname(BINARY_PATH));

console.log('卸载成功');
Expand Down

0 comments on commit 5c80a05

Please sign in to comment.