diff --git a/package.json b/package.json index 027aeab..4f89986 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cos-nodejs-sdk-v5", - "version": "2.12.2", + "version": "2.12.3", "description": "cos nodejs sdk v5", "main": "index.js", "types": "index.d.ts", diff --git a/sdk/advance.js b/sdk/advance.js index 530c5fe..cf8ea44 100644 --- a/sdk/advance.js +++ b/sdk/advance.js @@ -1140,7 +1140,6 @@ function sliceCopyFile(params, callback) { params.PartList = list; })(); - var TargetHeader; if (params.Headers['x-cos-metadata-directive'] === 'Replaced') { TargetHeader = params.Headers; } else {