Skip to content

Commit

Permalink
upd:sdk运行环境错误提示文案修改
Browse files Browse the repository at this point in the history
  • Loading branch information
livehigh committed May 27, 2021
1 parent 4d34eba commit 0a854fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cos.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ var COS = function (options) {
console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").');
}
if (util.isNode()) {
console.warn('warning: 您正在nodejs环境中使用js-sdk,请确认.使用nodejs-sdk请参考 https://cloud.tencent.com/document/product/436/8629');
console.warn('warning: You are using js-sdk in a nodejs environment, please confirm. For using nodejs-sdk, please refer to https://cloud.tencent.com/document/product/436/8629');
console.warn('warning: cos-js-sdk-v5 不支持nodejs环境使用,nodejs调用 COS API 请使用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629');
console.warn('warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 when nodejs calls COS API. Refer to the following document: https://cloud.tencent.com/document/product/436/8629');
}
event.init(this);
task.init(this);
Expand Down

0 comments on commit 0a854fd

Please sign in to comment.